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

Calling TransactionImple to register synchronization with null parameter causes NullPointerException being thrown when trace logging is enabled

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Done
    • Affects Version/s: 4.2
    • Fix Version/s: 5.6.0.Final
    • Component/s: JTS
    • Labels:
      None

      Description

      If trace logging is enabled then call on com.arjuna.ats.internal.jta.transaction.jts.TransactionImple#registerSynchronization is done with null in parameter then NullPointerException is thrown but SystemException should be thrown in such case.

      https://github.com/jbosstm/narayana/blob/930bd7f17f1b0cc2b8529eaa2ae1fcacf9582ac5/ArjunaJTS/jtax/classes/com/arjuna/ats/internal/jta/transaction/jts/TransactionImple.java#L452

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ochaloup Ondra Chaloupka
                Reporter:
                ochaloup Ondra Chaloupka
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: