You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Ignat Zapolsky (JIRA)" <ji...@apache.org> on 2013/05/15 14:19:15 UTC

[jira] [Created] (POOL-234) SoftReferenceObjectPool swallows underlying exceptions when activating / validating newly created object

Ignat Zapolsky created POOL-234:
-----------------------------------

             Summary: 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.6, 1.5.5
            Reporter: Ignat Zapolsky


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 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