You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kristian Waagan (JIRA)" <ji...@apache.org> on 2008/12/01 11:00:45 UTC

[jira] Created: (DERBY-3967) NPE when reading from stream/reader after commit or connection close

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.4.2.0, 10.3.3.0, 10.5.0.0
            Reporter: Kristian Waagan
            Priority: Minor


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.


[jira] Updated: (DERBY-3967) NPE when reading from stream/reader after commit or connection close

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ 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.


[jira] Assigned: (DERBY-3967) NPE when reading from stream/reader after commit or connection close

Posted by "Sabari S Kumar (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sabari S Kumar reassigned DERBY-3967:
-------------------------------------

    Assignee: Sabari S Kumar

> 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
>            Assignee: Sabari S Kumar
>            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.


[jira] Updated: (DERBY-3967) NPE when reading from stream/reader after commit or connection close

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen updated DERBY-3967:
--------------------------------------

    Issue & fix info: [Repro attached]
             Urgency: Normal
            Assignee:     (was: Sabari S Kumar)

Triaged for 10.5.2.

> 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.1.1
>            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.


[jira] Updated: (DERBY-3967) NPE when reading from stream/reader after commit or connection close

Posted by "Kristian Waagan (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kristian Waagan updated DERBY-3967:
-----------------------------------

    Affects Version/s: 10.6.0.0

> 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.1.1, 10.6.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.


[jira] Commented: (DERBY-3967) NPE when reading from stream/reader after commit or connection close

Posted by "Kathey Marsden (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/DERBY-3967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12706663#action_12706663 ] 

Kathey Marsden commented on DERBY-3967:
---------------------------------------

Sabari, are you working on this issue?    Please post if  you are, otherwise I will unassign it so someone else can pick it up.

Thanks

Kathey



> 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.1.1
>            Reporter: Kristian Waagan
>            Assignee: Sabari S Kumar
>            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.