Uploaded image for project: 'Commons Dbcp'
  1. Commons Dbcp
  2. DBCP-403

DelegatingStatement.close() fails with NPE if statement is null

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sebb@apache.org Sebb
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: