Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 73243 invoked from network); 1 Dec 2008 10:38:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Dec 2008 10:38:37 -0000 Received: (qmail 19478 invoked by uid 500); 1 Dec 2008 10:38:48 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 19459 invoked by uid 500); 1 Dec 2008 10:38:47 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 19448 invoked by uid 99); 1 Dec 2008 10:38:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 02:38:47 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2008 10:37:27 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 621C5234C297 for ; Mon, 1 Dec 2008 02:37:44 -0800 (PST) Message-ID: <1397729021.1228127864400.JavaMail.jira@brutus> Date: Mon, 1 Dec 2008 02:37:44 -0800 (PST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-3967) NPE when reading from stream/reader after commit or connection close In-Reply-To: <1788802388.1228125645530.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on 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.