]
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/or...
Goal is to investigate this potential exception being trouble or not and if such thing
could happen or not.