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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user