OpenJPA
›
OpenJPA Users
NullPointerException in DataCache
2 messages
Options
Subscribe via email
Pin topic
Unpin topic
Move post to...
Embed this post
Permalink
Roger Keays
NullPointerException in DataCache
Reply
Threaded
More
Reply to author
Ban this user
Unban this user
Delete post permanently
Remove topic from forum
Email this post to...
Move topic to...
Print post
Permalink
Does anybody recognize this exception? It seems to occur mostly on
transactions with updates and deletes. It hasn't occured on any persist
operations.
If I turn off the DataCache the problem goes away.
16-Jul-2008 12:09:07 PM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet Faces Servlet threw exception
java.lang.NullPointerException
org.apache.openjpa.datacache.DataCachePCDataImpl.clearInverseRelationCache(DataCachePCDataImpl.java:167)
org.apache.openjpa.datacache.DataCachePCDataImpl.storeField(DataCachePCDataImpl.java:149)
org.apache.openjpa.kernel.PCDataImpl.store(PCDataImpl.java:242)
org.apache.openjpa.datacache.DataCachePCDataImpl.store(DataCachePCDataImpl.java:120)
org.apache.openjpa.datacache.DataCacheStoreManager.updateCaches(DataCacheStoreManager.java:189)
org.apache.openjpa.datacache.DataCacheStoreManager.commit(DataCacheStoreManager.java:90)
org.apache.openjpa.kernel.DelegatingStoreManager.commit(DelegatingStoreManager.java:94)
org.apache.openjpa.kernel.BrokerImpl.endStoreManagerTransaction(BrokerImpl.java:1305)
org.apache.openjpa.kernel.BrokerImpl.endTransaction(BrokerImpl.java:2174)
org.apache.openjpa.kernel.BrokerImpl.afterCompletion(BrokerImpl.java:1843)
org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:94)
org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1347)
org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:877)
org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:512)
au.com.ninthavenue.cms.actions.MoveWithArrow.processAction(MoveWithArrow.java:74)
Pinaki Poddar
Re: NullPointerException in DataCache
Reply
Threaded
More
Reply to author
Ban this user
Unban this user
Edit post
Delete post permanently
Remove post from topic
Email this post to...
Move post to...
Print post
Permalink
Hi,
It was a bug.
It has been fixed with revision 633739.
Apparently related to handling instances of type that is not L2 cached.
Pinaki
Free Embeddable Forum
Powered by
Nabble
Help