Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-47290

Ehcache conplains about non serializable entries

    Details

    • Fix Priority:
      3

      Description

      1:12,891 ERROR [net.sf.ehcache.store.disk.DiskStorageFactory] (com%002eliferay%002eportal%002ekernel%002etemplate%002e%0054emplate%0052esource#vm.data) Disk Write of com.liferay.portal.template.CacheTemplateResource@7438317b failed: : java.io.NotSerializableException: com.liferay.portal.velocity.LiferayResourceManager$LiferayTemplate
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184) [rt.jar:1.8.0_05]
      	at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548) [rt.jar:1.8.0_05]
      	at java.io.ObjectOutputStream.defaultWriteObject(ObjectOutputStream.java:441) [rt.jar:1.8.0_05]
      	at net.sf.ehcache.Element.writeObject(Element.java:851) [ehcache.jar:]
      	at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source) [:1.8.0_05]
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [rt.jar:1.8.0_05]
      	at java.lang.reflect.Method.invoke(Method.java:483) [rt.jar:1.8.0_05]
      	at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:988) [rt.jar:1.8.0_05]
      	at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1496) [rt.jar:1.8.0_05]
      	at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432) [rt.jar:1.8.0_05]
      	at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178) [rt.jar:1.8.0_05]
      	at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348) [rt.jar:1.8.0_05]
      	at net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97) [ehcache.jar:]
      	at net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:399) [ehcache.jar:]
      	at net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:381) [ehcache.jar:]
      	at net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:473) [ehcache.jar:]
      	at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1067) [ehcache.jar:]
      	at net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1051) [ehcache.jar:]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:266) [rt.jar:1.8.0_05]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180) [rt.jar:1.8.0_05]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) [rt.jar:1.8.0_05]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [rt.jar:1.8.0_05]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [rt.jar:1.8.0_05]
      	at java.lang.Thread.run(Thread.java:745) [rt.jar:1.8.0_05]
      

        Attachments

          Activity

            People

            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Days since last comment:
                3 years, 6 days ago

                Packages

                Version Package