Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 04D0E9BFB for ; Wed, 15 Feb 2012 23:04:33 +0000 (UTC) Received: (qmail 86587 invoked by uid 500); 15 Feb 2012 23:04:32 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 86569 invoked by uid 500); 15 Feb 2012 23:04:32 -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 86562 invoked by uid 99); 15 Feb 2012 23:04:32 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 23:04:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 15 Feb 2012 23:04:26 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 063AC1B94BC for ; Wed, 15 Feb 2012 23:04:05 +0000 (UTC) Date: Wed, 15 Feb 2012 23:04:05 +0000 (UTC) From: "Kathey Marsden (Reopened) (JIRA)" To: derby-dev@db.apache.org Message-ID: <1959095660.43366.1329347045027.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <31704534.377321295041066236.JavaMail.jira@thor> Subject: [jira] [Reopened] (DERBY-4973) NullPointerException in updatelocks.sql encryption tests on IBM 1.6 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-4973?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kathey Marsden reopened DERBY-4973: ----------------------------------- Assignee: Kathey Marsden > NullPointerException in updatelocks.sql encryption tests on IBM 1.6 > -------------------------------------------------------------------- > > Key: DERBY-4973 > URL: https://issues.apache.org/jira/browse/DERBY-4973 > Project: Derby > Issue Type: Bug > Components: Store > Affects Versions: 10.8.1.2 > Environment: Booting Derby version The Apache Software Foundation - Apache Derby - 10.8.0.0 alpha - (1058840): instance a816c00e-012d-839a-de59-ffff9cf6fc6d > on database directory C:\jartest\JarResults.2011-01-13\ibm16_derbyall\derbyall\encryptionAll\storemats\storemats\updatelocks\wombat with class loader sun.misc.Launcher$AppClassLoader@4bf94bf9 > Loaded from file:/C:/jartest/classes/derby.jar > java.vendor=IBM Corporation > java.runtime.version=jvmwi3260sr9-20101124_69295 > java.fullversion=JRE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260sr9-20101124_69295 (JIT enabled, AOT enabled) > J9VM - 20101124_069295 > JIT - r9_20101028_17488ifx2 > GC - 20101027_AA > Reporter: Kathey Marsden > Assignee: Kathey Marsden > Fix For: 10.3.3.1, 10.4.2.1, 10.5.3.2, 10.6.2.3, 10.7.1.4, 10.8.1.2 > > Attachments: derby-4973_diff.txt, updatelocks_results.zip > > > The IBM 1.6 results for Jan 13, 2011 show the following failure for IBM 1.6 on XP > *** End: TestEnc jdk1.6.0 DerbyNetClient derbynetclientmats:encodingTests 2011-01-14 00:05:38 *** > ********* Diff file derbyall/encryptionAll/storemats/storemats/updatelocks.diff > *** Start: updatelocks jdk1.6.0 storemats:storemats 2011-01-14 00:18:37 *** > 19859a19860,19868 > > ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while evaluating an expression. > > ERROR XJ001: Java exception: ': java.lang.NullPointerException'. > > ij> next scan_cursor; > > A |B |C > > -------------------------------------------------------------------------------------------------------------------------------------------------------- > > -3 |-30 |-three > > ij> update a set a=3,b=30,c='three' where current of scan_cursor; > > 1 row inserted/updated/deleted > > ij> select * from lock_table order by tabname, type desc, mode, cnt, lockname; > 19861a19871 > > APP |UserTran|TABLE |1 |IX |A |Tablelock |GRANT|ACTIVE > 19866,19876d19875 > < -3 |-30 |-three > < ij> update a set a=3,b=30,c='three' where current of scan_cursor; > < 1 row inserted/updated/deleted > < ij> select * from lock_table order by tabname, type desc, mode, cnt, lockname; > < USERNAME|TRANTYPE|TYPE |CNT |MODE|TABNAME |LOCKNAME |STATE|STATUS > < --------------------------------------------------------------------------- > < APP |UserTran|TABLE |1 |IX |A |Tablelock |GRANT|ACTIVE > < APP |UserTran|TABLE |1 |X |A |Tablelock |GRANT|ACTIVE > < ij> next scan_cursor; > < A |B |C > < -------------------------------------------------------------------------------------------------------------------------------------------------------- > Test Failed. > *** End: updatelocks jdk1.6.0 storemats:storemats 2011-01-14 00:19:24 *** > ------------------------------------------------------ > Stack trace is: > Fri Jan 14 00:19:08 PST 2011 Thread[main,5,main] (XID = 2648), (SESSIONID = 1), (DATABASE = wombat), (DRDAID = null), Failed Statement is: select * from lock_table order by tabname, type desc, mode, cnt, lockname > ERROR 38000: The exception 'java.lang.NullPointerException' was thrown while evaluating an expression. > at org.apache.derby.iapi.error.StandardException.newException(Unknown Source) > at org.apache.derby.iapi.error.StandardException.unexpectedUserException(Unknown Source) > at org.apache.derby.impl.sql.execute.VTIResultSet.populateFromResultSet(Unknown Source) > at org.apache.derby.impl.sql.execute.VTIResultSet.getNextRowCore(Unknown Source) > at org.apache.derby.impl.sql.execute.HashTableResultSet.getNextRowFromRowSource(Unknown Source) > at org.apache.derby.iapi.store.access.BackingStoreHashtable.getNextRowFromRowSource(Unknown Source) > at org.apache.derby.iapi.store.access.BackingStoreHashtable.(Unknown Source) > at org.apache.derby.impl.sql.execute.HashTableResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.JoinResultSet.openRight(Unknown Source) > at org.apache.derby.impl.sql.execute.JoinResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.SortResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.open(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) > at org.apache.derby.impl.tools.ij.ij.executeImmediate(Unknown Source) > at org.apache.derby.impl.tools.ij.utilMain.doCatch(Unknown Source) > at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(Unknown Source) > at org.apache.derby.impl.tools.ij.utilMain.go(Unknown Source) > at org.apache.derby.impl.tools.ij.Main.go(Unknown Source) > at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source) > at org.apache.derby.impl.tools.ij.Main.main(Unknown Source) > at org.apache.derby.tools.ij.main(Unknown Source) > Caused by: java.lang.NullPointerException > at org.apache.derby.impl.store.raw.xact.Xact.getContextId(Unknown Source) > at org.apache.derby.impl.store.raw.xact.TransactionTableEntry.getTransactionTypeString(Unknown Source) > at org.apache.derby.diag.TransactionTable.getString(Unknown Source) > at org.apache.derby.iapi.types.SQLChar.setValueFromResultSet(Unknown Source) > ... 25 more > ============= begin nested exception, level (1) =========== > java.lang.NullPointerException > at org.apache.derby.impl.store.raw.xact.Xact.getContextId(Unknown Source) > at org.apache.derby.impl.store.raw.xact.TransactionTableEntry.getTransactionTypeString(Unknown Source) > at org.apache.derby.diag.TransactionTable.getString(Unknown Source) > at org.apache.derby.iapi.types.SQLChar.setValueFromResultSet(Unknown Source) > at org.apache.derby.impl.sql.execute.VTIResultSet.populateFromResultSet(Unknown Source) > at org.apache.derby.impl.sql.execute.VTIResultSet.getNextRowCore(Unknown Source) > at org.apache.derby.impl.sql.execute.HashTableResultSet.getNextRowFromRowSource(Unknown Source) > at org.apache.derby.iapi.store.access.BackingStoreHashtable.getNextRowFromRowSource(Unknown Source) > at org.apache.derby.iapi.store.access.BackingStoreHashtable.(Unknown Source) > at org.apache.derby.impl.sql.execute.HashTableResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.JoinResultSet.openRight(Unknown Source) > at org.apache.derby.impl.sql.execute.JoinResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.SortResultSet.openCore(Unknown Source) > at org.apache.derby.impl.sql.execute.BasicNoPutResultSetImpl.open(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.executeStmt(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source) > at org.apache.derby.impl.tools.ij.ij.executeImmediate(Unknown Source) > at org.apache.derby.impl.tools.ij.utilMain.doCatch(Unknown Source) > at org.apache.derby.impl.tools.ij.utilMain.runScriptGuts(Unknown Source) > at org.apache.derby.impl.tools.ij.utilMain.go(Unknown Source) > at org.apache.derby.impl.tools.ij.Main.go(Unknown Source) > at org.apache.derby.impl.tools.ij.Main.mainCore(Unknown Source) > at org.apache.derby.impl.tools.ij.Main.main(Unknown Source) > at org.apache.derby.tools.ij.main(Unknown Source) > ============= end nested exception, level (1) =========== -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira