net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads

GitHub | valib | 3 months ago
  1. 0

    GitHub comment 994#243001048

    GitHub | 3 months ago | valib
    net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads
  2. 0

    DiskStorageFactory - Disk Write of CategoryXrefImpl#CategoryXrefPK failed

    GitHub | 3 years ago | adamsmith-vology
    net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads
  3. 0

    ConcurrentModificationException error after long period of inactivity.

    GitHub | 2 years ago | Jerry77oz
    net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Ehcache + Hibernate - Failed to serialize element due to ConcurrentModificationException

    Stack Overflow | 3 years ago | vladtamas
    net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads
  6. 0

    Error serializing element in ehcache

    Stack Overflow | 9 months ago | java developer
    net.sf.ehcache.CacheException: Failed to serialize element due to ConcurrentModificationException. This is frequently the result of inappropriately sharing thread unsafe object (eg. ArrayList, HashMap, etc) between threads

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      null

      at java.util.ArrayList.writeObject()
    2. Java RT
      ObjectOutputStream.defaultWriteObject
      1. java.util.ArrayList.writeObject(Unknown Source)
      2. sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      4. java.lang.reflect.Method.invoke(Unknown Source)
      5. java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
      6. java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      7. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      8. java.io.ObjectOutputStream.writeObject0(Unknown Source)
      9. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      10. java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      11. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      12. java.io.ObjectOutputStream.writeObject0(Unknown Source)
      13. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      14. java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      15. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      16. java.io.ObjectOutputStream.writeObject0(Unknown Source)
      17. java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)
      18. java.io.ObjectOutputStream.defaultWriteObject(Unknown Source)
      18 frames
    3. Ehcache
      Element.writeObject
      1. net.sf.ehcache.Element.writeObject(Element.java:875)
      1 frame
    4. Java RT
      ObjectOutputStream.writeObject
      1. sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      3. java.lang.reflect.Method.invoke(Unknown Source)
      4. java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
      5. java.io.ObjectOutputStream.writeSerialData(Unknown Source)
      6. java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
      7. java.io.ObjectOutputStream.writeObject0(Unknown Source)
      8. java.io.ObjectOutputStream.writeObject(Unknown Source)
      8 frames
    5. Ehcache
      DiskStorageFactory$PersistentDiskWriteTask.call
      1. net.sf.ehcache.util.MemoryEfficientByteArrayOutputStream.serialize(MemoryEfficientByteArrayOutputStream.java:97)
      2. net.sf.ehcache.store.disk.DiskStorageFactory.serializeElement(DiskStorageFactory.java:403)
      3. net.sf.ehcache.store.disk.DiskStorageFactory.write(DiskStorageFactory.java:385)
      4. net.sf.ehcache.store.disk.DiskStorageFactory$DiskWriteTask.call(DiskStorageFactory.java:477)
      5. net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1071)
      6. net.sf.ehcache.store.disk.DiskStorageFactory$PersistentDiskWriteTask.call(DiskStorageFactory.java:1055)
      6 frames
    6. Java RT
      Thread.run
      1. java.util.concurrent.FutureTask.run(Unknown Source)
      2. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(Unknown Source)
      3. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
      4. java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
      5. java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
      6. java.lang.Thread.run(Unknown Source)
      6 frames