When transaction is being rolled back there's a NPE in afterCompletion:

  | [OrderedSynchronizationHandler] failed calling afterCompletion() on 
org.jboss.cache.interceptors.Repli
  | [EMAIL PROTECTED]
  | java.lang.NullPointerException
  |         at 
org.jboss.cache.interceptors.ReplicationInterceptor$SynchronizationHandler.afterCompletion(ReplicationIntercep
  | tor.java:252)
  |         at 
org.jboss.cache.interceptors.OrderedSynchronizationHandler.afterCompletion(OrderedSynchronizationHandler.java:
  | 79)
  | 

in the following code (ReplicationInterceptor$SynchronizationHandler.afterCompletion): 


  |             case Status.STATUS_ROLLEDBACK:
  |                 if(log.isDebugEnabled())
  |                    log.debug("afterCompletion(): rolling back transaction");
  |                 if(modifications.size() > 0) {
  | 

modifications here is null because it's only initialized in beforeCompletion()  which 
is not always executed (for example, when setRollbackOnly() was called).




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

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


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to