Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-2320

ResultSet.next() after ResultSet.close() throws NullPointerException (not SQLException)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.9.0
    • Client - JDBC
    • None

    Description

      After close() is called on a ResultSet, calling next() on that ResultSet throws a NullPointerException (rather than properly throwing a SQLException).

      (This pattern seems likely to apply to many siblings of next() (e.g., getXxx(...) methods) also.)

      Attachments

        Issue Links

          Activity

            People

              parthc Parth Chandra
              dsbos Daniel Barclay
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: