Uploaded image for project: 'JBoss Transaction Manager'
  1. JBoss Transaction Manager
  2. JBTM-422

UserTransaction rollback trips over null pointer and generates inappropriate error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.5.0
    • 4.4.0.GA
    • XTS
    • None

      The WS-AT remote UserTransactionImple rollback method fails to detect the case where there is no TX associated with the calling thread and trips over the resulting null pointer generating an invalid error code. This problem appears in both 1.0 and 1.1 implementations and also affects methods in the WS-BA UserBusinessActivityImple class.

      This should be fixed by checking for null and explicitly throwing a WrongStateException which needs to be added to the parent API class. This is as near as possible to the JTA behaviour where an IllegalStateException is thrown.

              rhn-engineering-adinn Andrew Dinn
              rhn-engineering-adinn Andrew Dinn
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 15 minutes
                  15m
                  Remaining:
                  Remaining Estimate - 15 minutes
                  15m
                  Logged:
                  Time Spent - Not Specified
                  Not Specified