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

Gytis Trikleris (JIRA) issues at jboss.org
Fri Dec 23 10:33:00 EST 2016

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

Gytis Trikleris updated JBTM-2829:
        Status: Resolved  (was: Pull Request Sent)
    Resolution: Done

> 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.next
> 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