[jbossts-issues] [JBoss JIRA] (JBTM-2829) Avoid null pointer exception when comparing JDBC connections

Tom Jenkinson (JIRA) issues at jboss.org
Fri Jan 20 13:29:00 EST 2017

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

Tom Jenkinson closed JBTM-2829.

> Avoid null pointer exception when comparing JDBC connections
> ------------------------------------------------------------
>                 Key: JBTM-2829
>                 URL: https://issues.jboss.org/browse/JBTM-2829
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: Transactional Driver
>            Reporter: Gytis Trikleris
>            Assignee: Gytis Trikleris
>             Fix For: 5.5.1.Final
> Spring Boot extension for the transactional driver doesn't know database URL and uses provided XADataSource to create connection. However, ConnectionImpl expects URL, username and password to not be null https://github.com/jbosstm/narayana/blob/5.5.0.Final/ArjunaJTA/jdbc/classes/com/arjuna/ats/internal/jdbc/ConnectionManager.java#L91. As a result NullPointerException is thrown if connection is reused.

This message was sent by Atlassian JIRA

More information about the jbossts-issues mailing list