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

UserTransaction rollback trips over null pointer and generates inappropriate error

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 4.4.0.GA
    • Fix Version/s: 4.5.0
    • Component/s: XTS
    • Labels:
      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                adinn Andrew Dinn
                Reporter:
                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