]
Jesper Pedersen resolved JBJCA-1257.
------------------------------------
Fix Version/s: 1.0.32.Final
(was: 1.2.4.Final)
Resolution: Done
NPE in SemaphoreConcurrentLinkedQueueManagedConnectionPool
----------------------------------------------------------
Key: JBJCA-1257
URL:
https://issues.jboss.org/browse/JBJCA-1257
Project: IronJacamar
Issue Type: Bug
Components: Core
Affects Versions: 1.0.31.Final
Reporter: Radim Vansa
Assignee: Jesper Pedersen
Priority: Minor
Fix For: 1.0.32.Final
With SemaphoreConcurrentLinkedQueueManagedConnectionPool, if creating a new connection
fails with exception, logging this
{code}
log.throwableWhileAttemptingGetNewGonnection(clw.getConnectionListener(), t);
{code}
https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or...
causes NPE since clw == null. This way, the NPE is eventually swallowed on
https://github.com/ironjacamar/ironjacamar/blob/1.0/core/src/main/java/or...
and only generic ResourceException (without much info) is thrown.