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

jacek187 do-not-reply at jboss.com
Fri Sep 14 06:10:05 EDT 2007


i have analyzed this problem and this is caused by asynchronus transaction rollback. More details in thread:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118186, 
When transaction entry is removed in separate thrad, corresponding TransactionEntry couldn't be foundm, so hasBeenRemovedInCurrentTx, has nul first argument and in first line NPE is thrown.


   
  | private boolean hasBeenRemovedInCurrentTx(TransactionEntry te, Fqn f)
  |    {
  |       if (te.getRemovedNodes().contains(f)) return true;
  | (...)
  | 

Jacek Halat

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

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



More information about the jboss-user mailing list