Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-27222

[GSS](7.4.z) JBJCA-1462 - NullPointerException in ConnectionValidator

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.4.19.CR1, 7.4.19.GA
    • 7.4.z.GA
    • JCA
    • None

      JBJCA-1462 should be backported to ironjacamar(1.5.x) which is used in EAP 7.4.x, because even with the JBEAP-23506 changes, there is still a possibliity that SemaphoreConcurrentLinkedDequeManagedConnectionPool.returnForFrequencyCheck() will throw a NullPointerException.

      2024-05-27 09:45:08,451 WARN  [org.jboss.jca.core.connectionmanager.pool.validator.ConnectionValidator] (ConnectionValidator) IJ000602: ConnectionValidator ignored unexpected runtime exception: java.lang.NullPointerException
          at java.base/java.util.Objects.requireNonNull(Objects.java:209)
          at java.base/java.util.concurrent.ConcurrentLinkedDeque.linkLast(ConcurrentLinkedDeque.java:347)
          at java.base/java.util.concurrent.ConcurrentLinkedDeque.addLast(ConcurrentLinkedDeque.java:840)
          at org.jboss.ironjacamar.impl@1.5.15.Final-redhat-00001//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.returnForFrequencyCheck(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1591)
          at org.jboss.ironjacamar.impl@1.5.15.Final-redhat-00001//org.jboss.jca.core.connectionmanager.pool.mcp.SemaphoreConcurrentLinkedDequeManagedConnectionPool.validateConnections(SemaphoreConcurrentLinkedDequeManagedConnectionPool.java:1514)
          at org.jboss.ironjacamar.impl@1.5.15.Final-redhat-00001//org.jboss.jca.core.connectionmanager.pool.validator.ConnectionValidator$ConnectionValidatorRunner.run(ConnectionValidator.java:285)
          at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
          at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
          at java.base/java.lang.Thread.run(Thread.java:833)
      

              lvydra Lukas Vydra
              rhn-support-mkawakam Manabu Kawakami
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: