geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Jencks (JIRA)" <j...@apache.org>
Subject [jira] Closed: (GERONIMO-5742) NPE in MultiPoolConnectionInterceptor.returnConnection with non-zero minPoolSize
Date Fri, 14 Jan 2011 00:02:45 GMT

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


Mime
View raw message