You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Gary Gregory (JIRA)" <ji...@apache.org> on 2013/05/15 18:01:17 UTC
[jira] [Resolved] (POOL-234) SoftReferenceObjectPool swallows
underlying exceptions when activating / validating newly created object
[ https://issues.apache.org/jira/browse/POOL-234?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gary Gregory resolved POOL-234.
-------------------------------
Resolution: Fixed
Fix Version/s: 1.6.1
Assignee: Gary Gregory
{noformat}
commit -m "[POOL-234] SoftReferenceObjectPool swallows underlying exceptions when activating / validating newly created object." C:/svn/org/apache/commons/branches/pool-1.x/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java C:/svn/org/apache/commons/branches/pool-1.x/src/changes/changes.xml
Sending C:/svn/org/apache/commons/branches/pool-1.x/src/changes/changes.xml
Sending C:/svn/org/apache/commons/branches/pool-1.x/src/java/org/apache/commons/pool/impl/SoftReferenceObjectPool.java
Transmitting file data ...
Committed revision 1482909.
{noformat}
> 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