[jira] [Created] (CONFIGURATION-483) DatabaseConfiguration unclosed resultset

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (CONFIGURATION-483) DatabaseConfiguration unclosed resultset

ASF GitHub Bot (Jira)
DatabaseConfiguration unclosed resultset
----------------------------------------

                 Key: CONFIGURATION-483
                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-483
             Project: Commons Configuration
          Issue Type: Bug
          Components: Build
    Affects Versions: 1.8, 1.7, 1.6
         Environment: Any
            Reporter: Alx P
            Priority: Minor


An error ocurred when invoking method DatabaseConfiguration.close because the resultset is not closed.

ERROR: [PoolConnection@19859608] close() : Got 1 unclosed ResultSets !
        uk.org.primrose.pool.core.PoolConnection.checkAndCloseResultSets(PoolConnection.java:46)
        uk.org.primrose.pool.core.PoolConnection.close(PoolConnection.java:133)
        org.apache.commons.configuration.DatabaseConfiguration.close(DatabaseConfiguration.java:596)
        org.apache.commons.configuration.DatabaseConfiguration.containsKey(DatabaseConfiguration.java:394)
        org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:190)
        org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1160)
        org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1035)
        org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1018)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (CONFIGURATION-483) DatabaseConfiguration unclosed resultset

ASF GitHub Bot (Jira)

    [ https://issues.apache.org/jira/browse/CONFIGURATION-483?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13220356#comment-13220356 ]

Oliver Heger commented on CONFIGURATION-483:
--------------------------------------------

Thanks for spotting this. Obviously, there are multiple methods affected:
* containsKey()
* getKeys()
* gerProperty()
* isEmpty()
               

> DatabaseConfiguration unclosed resultset
> ----------------------------------------
>
>                 Key: CONFIGURATION-483
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-483
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.6, 1.7, 1.8
>         Environment: Any
>            Reporter: Alx P
>            Priority: Minor
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> An error ocurred when invoking method DatabaseConfiguration.close because the resultset is not closed.
> ERROR: [PoolConnection@19859608] close() : Got 1 unclosed ResultSets !
> uk.org.primrose.pool.core.PoolConnection.checkAndCloseResultSets(PoolConnection.java:46)
> uk.org.primrose.pool.core.PoolConnection.close(PoolConnection.java:133)
> org.apache.commons.configuration.DatabaseConfiguration.close(DatabaseConfiguration.java:596)
> org.apache.commons.configuration.DatabaseConfiguration.containsKey(DatabaseConfiguration.java:394)
> org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:190)
> org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1160)
> org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1035)
> org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1018)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       
Reply | Threaded
Open this post in threaded view
|

[jira] [Resolved] (CONFIGURATION-483) DatabaseConfiguration unclosed resultset

ASF GitHub Bot (Jira)
In reply to this post by ASF GitHub Bot (Jira)

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

Oliver Heger resolved CONFIGURATION-483.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.9

Fixed in subversion in revision 1344442.
               

> DatabaseConfiguration unclosed resultset
> ----------------------------------------
>
>                 Key: CONFIGURATION-483
>                 URL: https://issues.apache.org/jira/browse/CONFIGURATION-483
>             Project: Commons Configuration
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 1.6, 1.7, 1.8
>         Environment: Any
>            Reporter: Alx P
>            Assignee: Oliver Heger
>            Priority: Minor
>             Fix For: 1.9
>
>   Original Estimate: 24h
>  Remaining Estimate: 24h
>
> An error ocurred when invoking method DatabaseConfiguration.close because the resultset is not closed.
> ERROR: [PoolConnection@19859608] close() : Got 1 unclosed ResultSets !
> uk.org.primrose.pool.core.PoolConnection.checkAndCloseResultSets(PoolConnection.java:46)
> uk.org.primrose.pool.core.PoolConnection.close(PoolConnection.java:133)
> org.apache.commons.configuration.DatabaseConfiguration.close(DatabaseConfiguration.java:596)
> org.apache.commons.configuration.DatabaseConfiguration.containsKey(DatabaseConfiguration.java:394)
> org.apache.commons.configuration.CompositeConfiguration.getProperty(CompositeConfiguration.java:190)
> org.apache.commons.configuration.AbstractConfiguration.resolveContainerStore(AbstractConfiguration.java:1160)
> org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1035)
> org.apache.commons.configuration.AbstractConfiguration.getString(AbstractConfiguration.java:1018)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira