-
Bug
-
Resolution: Done
-
Major
-
7.2.0.GA, 7.2.1.GA
When calling Connection.isWrapperFor(...) on a connection which has been closed (i.e. returned to the pool, managed connection disassociated) previously, a NullPointerException is raised. The exception should be "Connection is not associated with a managed connection: ..."
... java.lang.NullPointerException at org.jboss.jca.adapters.jdbc.WrappedConnection.getWrappedObject(WrappedConnection.java:1914) at org.jboss.jca.adapters.jdbc.WrappedConnection.getWrappedObject(WrappedConnection.java:64) at org.jboss.jca.adapters.jdbc.JBossWrapper.isWrapperFor(JBossWrapper.java:68)
The NPE obscures the usage issue.
- clones
-
JBJCA-1389 NullPointerException raised when calling isWrapperFor(...) on a closed connection
- Resolved
- is incorporated by
-
JBEAP-17178 (7.2.z) Upgrade IronJacamar from 1.4.16.Final to 1.4.17.Final
- Closed
- links to