Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 94596 invoked from network); 23 Mar 2009 16:52:15 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Mar 2009 16:52:15 -0000 Received: (qmail 63933 invoked by uid 500); 23 Mar 2009 16:52:15 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 63915 invoked by uid 500); 23 Mar 2009 16:52:15 -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 63907 invoked by uid 99); 23 Mar 2009 16:52:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Mar 2009 16:52:15 +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; Mon, 23 Mar 2009 16:52:12 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 436A2234C004 for ; Mon, 23 Mar 2009 09:51:51 -0700 (PDT) Message-ID: <202693845.1237827111274.JavaMail.jira@brutus> Date: Mon, 23 Mar 2009 09:51:51 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-4105) NPE when the attached reproducible script is run using ij. In-Reply-To: <1768983191.1237583390526.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-4105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mamta A. Satoor closed DERBY-4105. ---------------------------------- Resolution: Invalid My apologies for the false alarm. I noticed that I had some local changes made on that client. Once i reverted them, the npe went away. I have marked this jira entry as invalid (didn't find a way to say it is not a bug, so I picked Invalid for the resolution reason). > NPE when the attached reproducible script is run using ij. > ---------------------------------------------------------- > > Key: DERBY-4105 > URL: https://issues.apache.org/jira/browse/DERBY-4105 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.1.3.2 > Reporter: Mamta A. Satoor > Attachments: script1.sql > > > I am running the attached script in ij as shown below > $ java -Dij.exceptionTrace=true org.apache.derby.tools.ij > ij version 10.1 > ij> connect 'jdbc:derby:testDB;create=true'; > ij> run 'script1.sql'; > After running quite a bit of sql in the script, it gives following NPE > ij> UPDATE table2 SET value='true' WHERE id=2147483649 AND name='has_address'; > ERROR XJ001: Java exception: ': java.lang.NullPointerException'. > java.lang.NullPointerException > at org.apache.derby.impl.sql.compile.TypeCompilerFactoryImpl.getAnInstance(TypeCompilerFactoryImpl.java:318) > at org.apache.derby.impl.sql.compile.TypeCompilerFactoryImpl.staticGetTypeCompiler(TypeCompilerFactoryImpl.java:248) > at org.apache.derby.impl.sql.compile.TypeCompilerFactoryImpl.getTypeCompiler(TypeCompilerFactoryImpl.java:81) > at org.apache.derby.impl.sql.compile.QueryTreeNode.getTypeCompiler(QueryTreeNode.java:739) > at org.apache.derby.impl.sql.compile.ValueNode.getTypeCompiler(ValueNode.java:223) > at org.apache.derby.impl.sql.compile.ResultColumn.checkStorableExpression(ResultColumn.java:876) > at org.apache.derby.impl.sql.compile.ResultColumnList.checkStorableExpressions(ResultColumnList.java:922) > at org.apache.derby.impl.sql.compile.UpdateNode.bind(UpdateNode.java:531) > at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:332) > at org.apache.derby.impl.sql.GenericStatement.prepare(GenericStatement.java:107) > at org.apache.derby.impl.sql.conn.GenericLanguageConnectionContext.prepareInternalStatement(GenericLanguageConnectionContext.java:704) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:513) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:487) > at org.apache.derby.impl.tools.ij.ij.executeImmediate(ij.java:313) > at org.apache.derby.impl.tools.ij.utilMain.doCatch(utilMain.java:433) > at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:310) > at org.apache.derby.impl.tools.ij.Main.go(Main.java:203) > at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:169) > at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:55) > at org.apache.derby.tools.ij.main(ij.java:60) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.