|
From: floefliep <do-...@jb...> - 2006-07-10 21:15:07
|
I get the error below (at CMT commit time) when using the non-clustered combo TreeCache 1.4.0cr2 / Hibernate 3.2.0cr2 / JBoss 4.0.4GA. When I switch to pessimistic locking (replace OptimisticTreeCacheProvider with TreeCacheProvider and NodeLockingScheme OPTIMISTIC by PESSIMISTIC), it all works without faults.
While debugging through the JBoss code, it seems that realNode.getVersion() at line 124 in OptimisticValidatorInterceptor.simpleValidate() is null.
Any ideas? Tnx!
Caused by: java.lang.NullPointerException
at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:124)
at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:101)
at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:66)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:95)
at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:796)
at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1061)
... 73 more
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956781#3956781
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956781
|