[
https://issues.jboss.org/browse/JBTM-990?page=com.atlassian.jira.plugin.s...
]
Tom Jenkinson updated JBTM-990:
-------------------------------
Fix Version/s: 4.16.1
5.0.0.M2
Done in branch, front-porting to trunk
com.arjuna.ats.internal.jta.transaction.jts.BaseTransaction catches
and throws a NullPointerException instead of checking if it is null first
---------------------------------------------------------------------------------------------------------------------------------------------
Key: JBTM-990
URL:
https://issues.jboss.org/browse/JBTM-990
Project: JBoss Transaction Manager
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 4.15.3
Reporter: Stuart Douglas
Assignee: Tom Jenkinson
Fix For: 4.16.1, 5.0.0.M2
com.arjuna.ats.internal.jta.transaction.jts.BaseTransaction has the following:
try
{
return theTransaction.getStatus();
}
catch (NullPointerException ex)
{
return javax.transaction.Status.STATUS_NO_TRANSACTION;
}
This mean's that anyone trying to debug a NPE with an exception breakpoint will
constantly hit this, as well as being much slower than a simple null check.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira