Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 47357 invoked from network); 13 Oct 2009 11:18:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Oct 2009 11:18:56 -0000 Received: (qmail 18404 invoked by uid 500); 13 Oct 2009 11:18:55 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 18318 invoked by uid 500); 13 Oct 2009 11:18:55 -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 18300 invoked by uid 99); 13 Oct 2009 11:18:55 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 13 Oct 2009 11:18:55 +0000 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; Tue, 13 Oct 2009 11:18:52 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5D775234C1F2 for ; Tue, 13 Oct 2009 04:18:31 -0700 (PDT) Message-ID: <388195251.1255432711381.JavaMail.jira@brutus> Date: Tue, 13 Oct 2009 04:18:31 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-4391) NullPointerException when comparing indexed column with result from a set operation In-Reply-To: <1969220914.1254309992340.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen updated DERBY-4391: -------------------------------------- Issue & fix info: [Repro attached] (was: [Repro attached, Patch Available]) Fix Version/s: 10.6.0.0 > NullPointerException when comparing indexed column with result from a set operation > ----------------------------------------------------------------------------------- > > Key: DERBY-4391 > URL: https://issues.apache.org/jira/browse/DERBY-4391 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.2.2.0, 10.3.3.0, 10.4.2.0, 10.5.3.0, 10.6.0.0 > Reporter: Knut Anders Hatlen > Assignee: Knut Anders Hatlen > Fix For: 10.6.0.0 > > Attachments: d4391-1a.diff, d4391-1a.stat, d4391-1b.diff > > > I'm reporting this issue on behalf of Bernt M. Johnsen. > If an indexed column is compared with a UNION query (or some other set operation), a NullPointerException is raised, as can be seen by this sequence of statements in ij: > ij> create table t(a int not null primary key, b int); > 0 rows inserted/updated/deleted > ij> select * from t where a < (values 4 union values 4); > ERROR XJ001: Java exception: ': java.lang.NullPointerException'. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.