[jbossts-issues] [JBoss JIRA] (JBTM-1036) NP: Possible null pointer dereference (NP_NULL_ON_SOME_PATH)

Tom Jenkinson (JIRA) jira-events at lists.jboss.org
Thu Sep 19 10:10:03 EDT 2013


    [ https://issues.jboss.org/browse/JBTM-1036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805824#comment-12805824 ] 

Tom Jenkinson commented on JBTM-1036:
-------------------------------------

https://github.com/jbosstm/narayana/pull/441

4.ArjunaJTS/jtax
com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.coordinator.ServerTransaction Line 108
Possible null pointer dereference of ServerTransaction._theXid in com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.coordinator.ServerTransaction.save_state(OutputObjectState, int)

As mark says, state machine should have stopped that scenario but it looked like it was worth a quick fix in case the class is used in an as yet untested code path
                
> NP: Possible null pointer dereference (NP_NULL_ON_SOME_PATH)
> ------------------------------------------------------------
>
>                 Key: JBTM-1036
>                 URL: https://issues.jboss.org/browse/JBTM-1036
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: JTA, JTS, Transaction Core
>            Reporter: Amos Feng
>            Assignee: Tom Jenkinson
>            Priority: Minor
>             Fix For: 5.0.0.M5
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> 1.ArjunaJTA/jdbc
> Possible null pointer dereference of conn in com.arjuna.ats.internal.jdbc.recovery.BasicXARecovery.getXAResource() Line 169
> 3.ArjunaCore/arjuna
> com.arjuna.ats.internal.arjuna.objectstore.HashedStore Line 131
> Possible null pointer dereference of aUid in com.arjuna.ats.internal.arjuna.objectstore.HashedStore.allObjUids(String, InputObjectState, int)
> 4.ArjunaJTS/jtax
> com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.coordinator.ServerTransaction Line 108
> Possible null pointer dereference of ServerTransaction._theXid in com.arjuna.ats.internal.jta.transaction.jts.subordinate.jca.coordinator.ServerTransaction.save_state(OutputObjectState, int)
> 5.ArjunaJTS/jts
> com.arjuna.ats.internal.jts.context.ContextManager Line 553
> Possible null pointer dereference of action in com.arjuna.ats.internal.jts.context.ContextManager.pushAction(ControlWrapper)
> 6.ArjunaJTS/jts
> com.arjuna.ats.jts.extensions.AtomicTransaction Line 617
> Possible null pointer dereference of AtomicTransaction._theAction in com.arjuna.ats.jts.extensions.AtomicTransaction.equals(Object)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbossts-issues mailing list