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

Ignat Zapolsky updated POOL-234:
--------------------------------

    Description: 
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.

  was:
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.

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

Reply via email to