PQ82951: NullPointerException when reading from
CacheEntry.JAVA
Downloadable files
Abstract
Dynamic Cache NullPointerException under high stress
Download Description
java.lang.NullPointerException when reading from CachEntry.java
Partial stack trace:
java.lang.NullPointerException
at com.ibm.ws.cache.CacheEntry$LRUHead.addLast(CacheEntry.java(Inlined
Compiled Code))
at com.ibm.ws.cache.Cache.updateLruLocation(Cache.java(Inlined Compiled
Code))
at com.ibm.ws.cache.Cache._syncSetValue(Cache.java(Compiled
Code))
at com.ibm.ws.cache.Cache.invalidateAndSet(Cache.java(Compiled
Code))
This fix affects mainly WPS users but apply this fix if you see the above
exceptions.
The following are example stack traces that this fix corrects.
SystemErr R java.lang.NullPointerException
SystemErr R at com.ibm.ws.cache.CacheEntry$LRUHead.addLast(
CacheEntry.java(Compiled Code))
SystemErr R at com.ibm.ws.cache.Cache.updateLruLocation(Cac
he.java(Inlined Compiled Code))
SystemErr R at com.ibm.ws.cache.Cache._syncSetValue(Cache.j
ava(Compiled Code))
SystemErr R at com.ibm.ws.cache.Cache.invalidateAndSet(Cach
e.java(Compiled Code))
SystemErr R at com.ibm.ws.cache.DistributedMapImpl.invalida
teAndPut(DistributedMapImpl.java(Inlined Compiled Code))
SystemErr R at com.ibm.ws.cache.DistributedMapImpl.put(Dist
ributedMapImpl.java(Compiled Code))
SystemErr R java.lang.NullPointerException
SystemErr R at com.ibm.ws.cache.CacheEntry.prepareForSerial
ization(CacheEntry.java(Compiled Code))
SystemErr R at com.ibm.ws.cache.BatchUpdateDaemon.cleanUpEv
entLists(BatchUpdateDaemon.java(Compiled Code))
SystemErr R at com.ibm.ws.cache.BatchUpdateDaemon.wakeUp(Ba
tchUpdateDaemon.java(Compiled Code))
SystemErr R at com.ibm.ws.cache.BatchUpdateDaemon.invalidat
eById(BatchUpdateDaemon.java(Inlined Compiled Code))
SystemErr R at com.ibm.ws.cache.BatchUpdateDaemon.invalidat
eById(BatchUpdateDaemon.java(Inlined Compiled Code))
SystemErr R at com.ibm.ws.cache.command.CommandCache.setCom
mand(CommandCache.java(Compiled Code))
SystemErr R at com.ibm.websphere.command.CacheableCommandIm
pl.updateCache(CacheableCommandImpl.java(Compiled Code))