org.ehcache.core.spi.store.StoreAccessException: java.lang.NullPointerException

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via GitHub by kedar031
, 1 year ago
java.lang.NullPointerException
org.ehcache.core.spi.store.StoreAccessException: java.lang.NullPointerException
at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:1124)
at org.ehcache.impl.serialization.CompactJavaSerializer$OIS.readClassDescriptor(CompactJavaSerializer.java:239)
at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1601)
at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1517)
at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1771)
at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1350)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:370)
at org.ehcache.impl.serialization.CompactJavaSerializer.read(CompactJavaSerializer.java:131)
at org.ehcache.impl.internal.store.offheap.LazyOffHeapValueHolder.forceDeserialization(LazyOffHeapValueHolder.java:99)
at org.ehcache.impl.internal.store.offheap.LazyOffHeapValueHolder.value(LazyOffHeapValueHolder.java:53)
at org.ehcache.impl.internal.store.heap.OnHeapStore.cloneValueHolder(OnHeapStore.java:1455)
at org.ehcache.impl.internal.store.heap.OnHeapStore.importValueFromLowerTier(OnHeapStore.java:1445)
at org.ehcache.impl.internal.store.heap.OnHeapStore.getOrComputeIfAbsent(OnHeapStore.java:703)
at org.ehcache.impl.internal.store.tiering.TieredStore.get(TieredStore.java:110)
at org.ehcache.core.Ehcache.get(Ehcache.java:167)
at org.ehcache.core.PersistentUserManagedEhcache.get(PersistentUserManagedEhcache.java:148)
at com.terracotta.qa.ehcache.validation.ValidatingGetOperation.exec(ValidatingGetOperation.java:57)
at io.rainfall.ScenarioRun.initStatistics(ScenarioRun.java:284)
at io.rainfall.ScenarioRun.start(ScenarioRun.java:135)
at com.terracotta.qa.ehcache.tiering.test.UserManagedPersistenceCacheTest$2.call(UserManagedPersistenceCacheTest.java:172)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

3 times, 6 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Once, 1 month ago
4 times, 3 months ago
Once, 11 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.