Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 56194 invoked from network); 14 Oct 2009 22:24:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Oct 2009 22:24:54 -0000 Received: (qmail 49213 invoked by uid 500); 14 Oct 2009 22:24:54 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 49146 invoked by uid 500); 14 Oct 2009 22:24:53 -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 49138 invoked by uid 99); 14 Oct 2009 22:24:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2009 22:24:53 +0000 X-ASF-Spam-Status: No, hits=-10.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI 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; Wed, 14 Oct 2009 22:24:51 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5E3A0234C1E9 for ; Wed, 14 Oct 2009 15:24:31 -0700 (PDT) Message-ID: <822664273.1255559071384.JavaMail.jira@brutus> Date: Wed, 14 Oct 2009 15:24:31 -0700 (PDT) From: "Knut Anders Hatlen (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (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 [ https://issues.apache.org/jira/browse/DERBY-4391?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Knut Anders Hatlen closed DERBY-4391. ------------------------------------- Resolution: Fixed Fix Version/s: 10.5.3.1 Merged fix to 10.5 and committed revision 825312. > 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.5.3.1, 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.