[
https://issues.apache.org/jira/browse/POOL-234?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13658493#comment-13658493
]
Ignat Zapolsky commented on POOL-234:
-------------------------------------
Wow, that was quick!
Thank you!
> SoftReferenceObjectPool swallows underlying exceptions when activating /
> validating newly created object
> --------------------------------------------------------------------------------------------------------
>
> Key: POOL-234
> URL: https://issues.apache.org/jira/browse/POOL-234
> Project: Commons Pool
> Issue Type: Bug
> Affects Versions: 1.5.5, 1.6
> Reporter: Ignat Zapolsky
> Assignee: Gary Gregory
> Fix For: 1.6.1
>
>
> On lines 145 - 149 (
> http://grepcode.com/file/repo1.maven.org/maven2/commons-pool/commons-pool/1.6/org/apache/commons/pool/impl/SoftReferenceObjectPool.java/#145)
> when NoSuchElementException is thrown, it inherits only message of cause,
> not cause itself.
> Sometimes such messages could be cryptic and also they hide stacktrace, which
> would help diagnosing problem.
> This also affects current HEAD.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira