You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by "Fedor Bokov (JIRA)" <ji...@apache.org> on 2006/06/21 19:48:29 UTC

[jira] Created: (DBCP-190) NPE in SharedPoolDataSource.close() if pool was not created

NPE in SharedPoolDataSource.close() if pool was not created
-----------------------------------------------------------

         Key: DBCP-190
         URL: http://issues.apache.org/jira/browse/DBCP-190
     Project: Commons Dbcp
        Type: Bug

    Versions: 1.2 Final    
    Reporter: Fedor Bokov
    Priority: Critical


SharedPoolDataSource.close() raises NPE if getConnection() was never called on this data source.
close() should check if( pool != null ) before calling pool.close()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


[jira] Closed: (DBCP-190) NPE in SharedPoolDataSource.close() if pool was not created

Posted by "Phil Steitz (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/DBCP-190?page=all ]
     
Phil Steitz closed DBCP-190:
----------------------------

    Resolution: Duplicate

This has been resolved as of 12-march-06 in svn trunk.   This is a duplicate of http://issues.apache.org/jira/browse/DBCP-39.

> NPE in SharedPoolDataSource.close() if pool was not created
> -----------------------------------------------------------
>
>          Key: DBCP-190
>          URL: http://issues.apache.org/jira/browse/DBCP-190
>      Project: Commons Dbcp
>         Type: Bug

>     Versions: 1.2 Final
>     Reporter: Fedor Bokov
>     Priority: Critical

>
> SharedPoolDataSource.close() raises NPE if getConnection() was never called on this data source.
> close() should check if( pool != null ) before calling pool.close()

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org