db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: NullPointerException caused by query
Date Fri, 13 Jul 2007 16:21:10 GMT
> i got an NullPointerException using the test care from below.

I also get a NullPointerException when running your test case
against the current code trunk, so it looks like the bug is
still present in the trunk.

Can you please log a JIRA issue, including your test case,
so that we can track the problem and fix it?

https://issues.apache.org/jira/browse/DERBY

thanks,

bryan

P.S. Here's the exception I got:

ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while evaluating an
expression.
         at org.apache.derby.iapi.error.StandardException.newException(StandardException.java:294)
         at 
org.apache.derby.iapi.error.StandardException.unexpectedUserException(StandardException.java:554)
         at org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:164)
         at 
org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(ProjectRestrictResultSet.java:267)
         at 
org.apache.derby.impl.sql.execute.NestedLoopJoinResultSet.getNextRowCore(NestedLoopJoinResultSet.java:116)
         at 
org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(ProjectRestrictResultSet.java:255)
         at 
org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(NormalizeResultSet.java:186)
         at 
org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(DMLWriteResultSet.java:125)
         at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:496)
         at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:370)
         at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1203)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:596)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:528)
         at org.apache.derby.impl.tools.ij.ij.executeImmediate(ij.java:330)
         at org.apache.derby.impl.tools.ij.utilMain.doCatch(utilMain.java:522)
         at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(utilMain.java:364)
         at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:262)
         at org.apache.derby.impl.tools.ij.Main.go(Main.java:215)
         at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:181)
         at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:56)
         at org.apache.derby.tools.ij.main(ij.java:71)
Caused by: java.lang.NullPointerException
         at org.apache.derby.iapi.types.SQLChar.equals(SQLChar.java:1433)
         at org.apache.derby.exe.ac12564092x0113xc06axc21fx00000012aeb02.e4(Unknown Source)
         at org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:147)
         ... 18 more
============= begin nested exception, level (1) ===========
java.lang.NullPointerException
         at org.apache.derby.iapi.types.SQLChar.equals(SQLChar.java:1433)
         at org.apache.derby.exe.ac12564092x0113xc06axc21fx00000012aeb02.e4(Unknown Source)
         at org.apache.derby.impl.services.reflect.DirectCall.invoke(ReflectGeneratedClass.java:147)
         at 
org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(ProjectRestrictResultSet.java:267)
         at 
org.apache.derby.impl.sql.execute.NestedLoopJoinResultSet.getNextRowCore(NestedLoopJoinResultSet.java:116)
         at 
org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(ProjectRestrictResultSet.java:255)
         at 
org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(NormalizeResultSet.java:186)
         at 
org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(DMLWriteResultSet.java:125)
         at org.apache.derby.impl.sql.execute.InsertResultSet.open(InsertResultSet.java:496)
         at 
org.apache.derby.impl.sql.GenericPreparedStatement.execute(GenericPreparedStatement.java:370)
         at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(EmbedStatement.java:1203)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:596)
         at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:528)
         at org.apache.derby.impl.tools.ij.ij.executeImmediate(ij.java:330)
         at org.apache.derby.impl.tools.ij.utilMain.doCatch(utilMain.java:522)
         at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(utilMain.java:364)
         at org.apache.derby.impl.tools.ij.utilMain.go(utilMain.java:262)
         at org.apache.derby.impl.tools.ij.Main.go(Main.java:215)
         at org.apache.derby.impl.tools.ij.Main.mainCore(Main.java:181)
         at org.apache.derby.impl.tools.ij.Main14.main(Main14.java:56)
         at org.apache.derby.tools.ij.main(ij.java:71)
============= end nested exception, level (1) ===========
Cleanup action completed


Mime
View raw message