commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gary Gregory (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (POOL-316) Evictor periodically throws NullPointerExceptions
Date Wed, 02 Nov 2016 18:25:58 GMT

     [ https://issues.apache.org/jira/browse/POOL-316?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gary Gregory updated POOL-316:
------------------------------
    Fix Version/s: 2.4.3

> Evictor periodically throws NullPointerExceptions
> -------------------------------------------------
>
>                 Key: POOL-316
>                 URL: https://issues.apache.org/jira/browse/POOL-316
>             Project: Commons Pool
>          Issue Type: Bug
>    Affects Versions: 2.4.2
>            Reporter: Caleb Cittadino
>             Fix For: 2.4.3
>
>
> When the logging level is set to WARN or INFO we see the following NPE peridically:
> {code}
> [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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message