Derby
  1. Derby
  2. DERBY-3967

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

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.3.3.0, 10.4.2.0, 10.5.1.1, 10.6.1.0
    • Fix Version/s: None
    • Component/s: JDBC
    • Urgency:
      Normal
    • Issue & fix info:
      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.

      1. Derby3967.java
        2 kB
        Kristian Waagan

        Activity

          People

          • Assignee:
            Unassigned
            Reporter:
            Kristian Waagan
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:

              Development