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

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

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