[
https://issues.apache.org/jira/browse/DERBY-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristian Waagan updated DERBY-3967:
-----------------------------------
Attachment: Derby3967.java
'Derby3967.java' demonstrates the issue.
> NPE when reading from stream/reader after commit or connection close
> --------------------------------------------------------------------
>
> Key: DERBY-3967
> URL: https://issues.apache.org/jira/browse/DERBY-3967
> Project: Derby
> Issue Type: Bug
> Components: JDBC
> Affects Versions: 10.3.3.0, 10.4.2.0, 10.5.0.0
> Reporter: Kristian Waagan
> Priority: Minor
> Attachments: Derby3967.java
>
>
> 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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.