Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3967

NPE when reading from stream/reader after commit or connection close

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 10.3.3.0, 10.4.2.0, 10.5.1.1, 10.6.1.0
    • None
    • JDBC
    • Normal
    • Repro attached

    Description

      If a stream with a LOB as source is obtained through one of the result set getXStream methods, a NullPointerException is thrown if an attempt to read from the stream after connection commit or close is made.
      Derby should fail more gracefully by informing the user that the LOB has been closed or made unavailable due to a commit/rollback.

      Attachments

        1. Derby3967.java
          2 kB
          Kristian Waagan

        Activity

          People

            Unassigned Unassigned
            kristwaa Kristian Waagan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: