[infinispan-issues] [JBoss JIRA] (ISPN-3004) NPE in Total Order when tries to unblock blocked PrepareCommand twice (or more)

Pedro Ruivo (JIRA) jira-events at lists.jboss.org
Wed Apr 10 08:03:07 EDT 2013


Pedro Ruivo created ISPN-3004:
---------------------------------

             Summary: NPE  in Total Order when tries to unblock blocked PrepareCommand twice (or more)
                 Key: ISPN-3004
                 URL: https://issues.jboss.org/browse/ISPN-3004
             Project: Infinispan
          Issue Type: Bug
          Components: Transactions
    Affects Versions: 5.3.0.Alpha1
            Reporter: Pedro Ruivo
            Assignee: Pedro Ruivo
             Fix For: 5.3.0.Final


When the prepares fails, it unblocks waiting prepares immediately. However, when a rollback arrives, it tries to unblock them again, throwing a NPE. 

fix in TotalOrderManager:
{code}
if (synchronizedBlock == null) {
  //already released!
  return;
}
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list