You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "David Jencks (JIRA)" <ji...@apache.org> on 2011/01/14 01:02:45 UTC

[jira] Closed: (GERONIMO-5742) NPE in MultiPoolConnectionInterceptor.returnConnection with non-zero minPoolSize

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

David Jencks closed GERONIMO-5742.
----------------------------------

    Resolution: Fixed
      Assignee: David Jencks

I changed your fix slightly so that in the multi-pool interceptor we set the pool on the MCI we actually got back.  This seems to work just as well.

2.2 branch rev 1058806
trunk rev 1058805

Many thanks for catching this problem and figuring out the solution!

> NPE in MultiPoolConnectionInterceptor.returnConnection with non-zero minPoolSize
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-5742
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-5742
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: connector
>            Reporter: Florent Guillaume
>            Assignee: David Jencks
>         Attachments: patch.diff
>
>
> There's a NPE in MultiPoolConnectionInterceptor.returnConnection when a non-zero minPoolSize is used and a connection originating from the pre-fill of the pool is returned.
> Applies to the 3.1 version of geronimo-connector; but the bug is here since at least 2.1.3 (and probably forever).
> Patch and unit test attached.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.