Uploaded image for project: 'Calcite'
  1. Calcite
  2. CALCITE-352

Calling next() on closed AvaticaResultSet gives NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.0.0-incubating
    • None

    Description

      If you call close() on an AvaticaResultSet then call next(), it gives a NullPointerException (due to the cursor field being null). It should give a SQLException (per the Javadoc of the ResultSet.next method).

      Attachments

        1. CALCITE-352-1.patch
          2 kB
          Sivaramakrishnan Narayanan

        Activity

          People

            vladimirsitnikov Vladimir Sitnikov
            julianhyde Julian Hyde
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: