db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <derby-...@db.apache.org>
Subject [jira] Commented: (DERBY-578) Grouped select from temporary table raises null pointer exception in byte code generator
Date Thu, 15 Jun 2006 20:54:32 GMT
    [ http://issues.apache.org/jira/browse/DERBY-578?page=comments#action_12416403 ] 

Rick Hillegas commented on DERBY-578:
-------------------------------------

Hi Manish,

I would like to take a look at this patch, but I get the following errors when I try to apply
it to my workspace. Could you regenerate the patch? Thanks-Rick

(Stripping trailing CRs from patch.)
patching file java/tools/org/apache/derby/impl/tools/ij/xaHelper.java
Hunk #1 succeeded at 64 (offset 1 line).
(Stripping trailing CRs from patch.)
patching file java/engine/org/apache/derby/impl/sql/compile/FromBaseTable.java
Hunk #1 succeeded at 3085 (offset 4 lines).
Hunk #2 succeeded at 3125 (offset 4 lines).
Hunk #3 succeeded at 3152 (offset 4 lines).
Hunk #4 succeeded at 3187 (offset 4 lines).
Hunk #5 succeeded at 3247 (offset 4 lines).
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/tests/lang/distinct.sql
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/master/distinctElimination.out
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/master/distinct.out
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/master/j9_13/distinct.out
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/master/j9_22/distinct.out
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/master/predicatePushdown.out
Hunk #1 succeeded at 9052 (offset 1480 lines).
Hunk #2 succeeded at 9071 (offset 1480 lines).
Hunk #3 succeeded at 9090 (offset 1480 lines).
Hunk #4 succeeded at 9109 with fuzz 1 (offset 1480 lines).
Hunk #5 FAILED at 9215.
Hunk #6 FAILED at 9234.
Hunk #7 succeeded at 9259 (offset 1480 lines).
Hunk #8 FAILED at 9278.
Hunk #9 succeeded at 9297 with fuzz 1 (offset 1480 lines).
Hunk #10 FAILED at 9316.
Hunk #11 succeeded at 9335 with fuzz 1 (offset 1480 lines).
4 out of 11 hunks FAILED -- saving rejects to file java/testing/org/apache/derbyTesting/functionTests/master/predicatePu
shdown.out.rej
(Stripping trailing CRs from patch.)
patching file java/testing/org/apache/derbyTesting/functionTests/master/subquery.out

> Grouped select from temporary table raises null pointer exception in byte code generator
> ----------------------------------------------------------------------------------------
>
>          Key: DERBY-578
>          URL: http://issues.apache.org/jira/browse/DERBY-578
>      Project: Derby
>         Type: Bug

>   Components: SQL, Services
>     Reporter: Rick Hillegas
>     Assignee: Manish Khettry
>  Attachments: 578.diff.txt
>
> The last statement in the following script:
> autocommit off;
> declare global temporary table session.ztemp
> ( orderID varchar( 50 ) )
> not logged;
> select orderID from session.ztemp group by orderID;
> raises the following stack trace in the trunk:
> java.lang.NullPointerException
> 	at java.util.Hashtable.get(Hashtable.java:333)
> 	at org.apache.derby.iapi.services.classfile.ClassHolder.findMatchingEntry(ClassHolder.java:656)
> 	at org.apache.derby.iapi.services.classfile.ClassHolder.addUtf8Entry(ClassHolder.java:482)
> 	at org.apache.derby.iapi.services.classfile.ClassHolder.addString(ClassHolder.java:506)
> 	at org.apache.derby.iapi.services.classfile.ClassHolder.addConstant(ClassHolder.java:302)
> 	at org.apache.derby.impl.services.bytecode.BCMethod.push(BCMethod.java:452)
> 	at org.apache.derby.impl.sql.compile.FromBaseTable.generateDistinctScan(FromBaseTable.java:3216)
> 	at org.apache.derby.impl.sql.compile.FromBaseTable.generateResultSet(FromBaseTable.java:3032)
> 	at org.apache.derby.impl.sql.compile.FromBaseTable.generate(FromBaseTable.java:2978)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generateMinion(ProjectRestrictNode.java:1196)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generate(ProjectRestrictNode.java:1145)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generateMinion(ProjectRestrictNode.java:1196)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generate(ProjectRestrictNode.java:1145)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generateMinion(ProjectRestrictNode.java:1196)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generate(ProjectRestrictNode.java:1145)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generateMinion(ProjectRestrictNode.java:1196)
> 	at org.apache.derby.impl.sql.compile.ProjectRestrictNode.generate(ProjectRestrictNode.java:1145)
> 	at org.apache.derby.impl.sql.compile.ScrollInsensitiveResultSetNode.generate(ScrollInsensitiveResultSetNode.java:109)
> 	at org.apache.derby.impl.sql.compile.ReadCursorNode.generate(ReadCursorNode.java:118)
> 	at org.apache.derby.impl.sql.compile.CursorNode.generate(CursorNode.java:546)
> 	at org.apache.derby.impl.sql.compile.StatementNode.generate(StatementNode.java:232)
> 	at org.apache.derby.impl.sql.GenericStatement.prepMinion(GenericStatement.java:433)
> 	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:533)
> 	at org.apache.derby.impl.jdbc.EmbedStatement.execute(EmbedStatement.java:480)
> 	at org.apache.derby.impl.tools.ij.ij.executeImmediate(ij.java:299)
> 	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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message