commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DBCP-403) DelegatingStatement.close() can fail with NPE if statement is null
Date Thu, 31 Oct 2013 18:29:17 GMT
Sebb created DBCP-403:
-------------------------

             Summary: DelegatingStatement.close() can fail with NPE if statement is null
                 Key: DBCP-403
                 URL: https://issues.apache.org/jira/browse/DBCP-403
             Project: Commons Dbcp
          Issue Type: Bug
            Reporter: Sebb


DelegatingStatement.close() fails with NPE if the _stmt field is null.

The code should check whether the field is null before trying to close the statement.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message