Uploaded image for project: 'Commons Pool'
  1. Commons Pool
  2. POOL-316

Evictor periodically throws NullPointerExceptions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.4.2
    • Fix Version/s: 2.4.3
    • Labels:
      None

      Description

      When the logging level is set to WARN or INFO we see the following NPE peridically:

      [2016-10-20 13:26:38,646 | WARN  | org.apache.commons.dbcp2.BasicDataSource] An internal object pool swallowed an Exception.
      java.lang.Exception: java.lang.NullPointerException
             at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:787) [commons-pool2-2.4.2.jar:2.4.2]
             at org.apache.commons.pool2.impl.BaseGenericObjectPool$Evictor.run(BaseGenericObjectPool.java:1036) [commons-pool2-2.4.2.jar:2.4.2]
             at java.util.TimerThread.mainLoop(Unknown Source) [na:1.8.0_25]
             at java.util.TimerThread.run(Unknown Source) [na:1.8.0_25]
      Caused by: java.lang.NullPointerException: null
             at org.apache.commons.pool2.impl.GenericObjectPool.evict(GenericObjectPool.java:781) [commons-pool2-2.4.2.jar:2.4.2]
             ... 3 common frames omitted
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sillydino Caleb Cittadino
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: