[jbossts-issues] [JBoss JIRA] (JBTM-2897) Calling TransactionImple to register synchronization with null parameter causes NullPointerException being thrown when trace logging is enabled

Ondra Chaloupka (JIRA) issues at jboss.org
Wed May 10 11:49:00 EDT 2017


     [ https://issues.jboss.org/browse/JBTM-2897?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Issue was automatically transitioned when Ondra Chaloupka created pull request #1179 in GitHub
----------------------------------------------------------------------------------------------
    Status: Pull Request Sent  (was: Open)


> Calling TransactionImple to register synchronization with null parameter causes NullPointerException being thrown when trace logging is enabled
> -----------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: JBTM-2897
>                 URL: https://issues.jboss.org/browse/JBTM-2897
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: JTS
>    Affects Versions: 5.5.24.Final
>            Reporter: Ondra Chaloupka
>            Assignee: Ondra Chaloupka
>            Priority: Minor
>
> 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



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbossts-issues mailing list