]
Tom Jenkinson updated JBTM-2897:
--------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
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
Fix For: 5.next
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/930bd7f17f1b0cc2b8529eaa2ae1fcac...