[jbossts-issues] [JBoss JIRA] (JBTM-1836) RecoveredTransactionReplayerUnitTest may raise a nullpointerexception

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Wed Jul 10 17:46:21 EDT 2013

Tom Jenkinson created JBTM-1836:

             Summary: RecoveredTransactionReplayerUnitTest may raise a nullpointerexception
                 Key: JBTM-1836
                 URL: https://issues.jboss.org/browse/JBTM-1836
             Project: JBoss Transaction Manager
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: Testing
            Reporter: Tom Jenkinson
            Assignee: Tom Jenkinson
             Fix For: 5.0.0.M4

	at com.arjuna.ats.internal.jts.recovery.transactions.RecoveredTransactionReplayer.run(RecoveredTransactionReplayer.java:118)
	at com.hp.mwtests.ts.jts.recovery.RecoveredTransactionReplayerUnitTest.testCommitted(RecoveredTransactionReplayerUnitTest.java:71)

Looking at the test it spawns a thread to call run(), then it expects that the thread hasn't finished launching before doing further setup. Then it triggers the logic that is expected in the thread anyway.

I will not trigger the thread which should have the same test behavior but without the timing issue.

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 jbossts-issues mailing list