[jboss-user] [JBossCache] - NullPointerException in PessimisticLockInterceptor

jacek187 do-not-reply at jboss.com
Fri Sep 7 09:00:19 EDT 2007


Hi


Does anybody seen this exception?

java.lang.NullPointerException
	at org.jboss.cache.interceptors.PessimisticLockInterceptor.hasBeenRemovedInCurrentTx(PessimisticLockInterceptor.java:342)
	at org.jboss.cache.interceptors.PessimisticLockInterceptor.needToReverseRemove(PessimisticLockInterceptor.java:336)
	at org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:300)
	at org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:175)
	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
	at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
	at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365)
	at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
	at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
	at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:157)
	at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863)
	at org.jboss.cache.TreeCache.put(TreeCache.java:3833)
	at org.jboss.cache.aop.PojoCache.lockPojo(PojoCache.java:635)
	at org.jboss.cache.aop.PojoCache.putObject(PojoCache.java:461) 

In my opinion TreeCache is yet NOT READY for production use. Probably it works in simple single-thread applications, but in real situations, with many concurent threads TreeCache dosen't work correctly...


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

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



More information about the jboss-user mailing list