[jboss-user] [JBossCache] - Re: NPE when using optimistic locking with JbossCache 1.4.0.

pkorros do-not-reply at jboss.com
Mon Nov 20 05:10:44 EST 2006


I tested again using JBoss 1.4.1.BETA and I am getting numerous exceptions like this:

Caused by: org.jboss.cache.optimistic.DataVersioningException: Attempting to apply data version of type class org.hibernate.cache.OptimisticTreeCache$NonLockingDataVersion to a node that already contains version of type class org.jboss.cache.optimistic.DefaultDataVersion
	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.simpleValidate(OptimisticValidatorInterceptor.java:144)
	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.validateNodes(OptimisticValidatorInterceptor.java:110)
	at org.jboss.cache.interceptors.OptimisticValidatorInterceptor.invoke(OptimisticValidatorInterceptor.java:75)
	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
	at org.jboss.cache.interceptors.OptimisticLockingInterceptor.invoke(OptimisticLockingInterceptor.java:99)
	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
	at org.jboss.cache.interceptors.OptimisticReplicationInterceptor.invoke(OptimisticReplicationInterceptor.java:85)
	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
	at org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:859)
	at org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1124)
	... 135 more

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3987246#3987246

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3987246



More information about the jboss-user mailing list