openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Keays <roger.ke...@ninthavenue.com.au>
Subject NullPointerException in DataCache
Date Thu, 17 Jul 2008 01:46:49 GMT

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)


Mime
View raw message