commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Steitz (JIRA)" <j...@apache.org>
Subject [jira] [Closed] (DBCP-403) DelegatingStatement.close() fails with NPE if statement is null
Date Sat, 03 Jan 2015 19:33:36 GMT

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

Phil Steitz closed DBCP-403.
----------------------------

> DelegatingStatement.close() fails 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
>             Fix For: 2.0
>
>
> 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.3.4#6332)

Mime
View raw message