[
https://issues.apache.org/jira/browse/POOL-343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16505149#comment-16505149
]
Gary Gregory commented on POOL-343:
-----------------------------------
Do you have a unit test to produce this against Commons Pool?
> CommonsPool2TargetSource release target giving error "Returned object not
> currently part of this pool"
> ------------------------------------------------------------------------------------------------------
>
> Key: POOL-343
> URL: https://issues.apache.org/jira/browse/POOL-343
> Project: Commons Pool
> Issue Type: Bug
> Affects Versions: 2.2, 2.4.1, 2.5.0
> Reporter: Shakun Ahuja
> Priority: Blocker
> Attachments: Beans.xml, GenericLifeCycleProcessor.java,
> PaymentInstructionActivationSchedulingExecutor.java
>
>
> After changing spring version to 5 with commons-pool
> 2.5,CommonsPool2TargetSource release target giving error as below
>
> {{ java.lang.IllegalStateException: Returned object not currently part of
> this pool at
> org.apache.commons.pool2.impl.GenericObjectPool.returnObject(GenericObjectPool.java:537)}}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)