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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 5.6.0.Final
    • 4.2
    • JTS
    • 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

      Attachments

        Activity

          People

            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            ochaloup@redhat.com Ondrej Chaloupka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: