[jbossts-issues] [JBoss JIRA] (JBTM-2857) Investigate XTS outbound bridge potential nullpointer issue

Ondra Chaloupka (JIRA) issues at jboss.org
Mon Jun 26 08:03:00 EDT 2017


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

Ondra Chaloupka reassigned JBTM-2857:
-------------------------------------

    Assignee:     (was: Ondra Chaloupka)


> Investigate XTS outbound bridge potential nullpointer issue
> -----------------------------------------------------------
>
>                 Key: JBTM-2857
>                 URL: https://issues.jboss.org/browse/JBTM-2857
>             Project: JBoss Transaction Manager
>          Issue Type: Task
>          Components: XTS
>    Affects Versions: 5.5.2.Final
>            Reporter: Ondra Chaloupka
>            Priority: Minor
>
> During working on JBTM-2853 it was found `NullPointer` could be potentially thrown from `OutboundBridgeManager` when `getTransaction()` returns `null`. It's at time when thread is not associated with any txn.
> Discussion about this at PR: https://github.com/jbosstm/narayana/pull/1133
> ```
> Transaction transaction = (Transaction)TransactionManager.transactionManager().getTransaction();
> ```
> https://github.com/jbosstm/narayana/blob/master/txbridge/src/main/java/org/jboss/jbossts/txbridge/outbound/OutboundBridgeManager.java#L69
> Goal is to investigate this potential exception being trouble or not and if such thing could happen or not.



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


More information about the jbossts-issues mailing list