Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 9216 invoked from network); 10 Jun 2009 14:06:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jun 2009 14:06:18 -0000 Received: (qmail 90553 invoked by uid 500); 10 Jun 2009 14:06:30 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 90483 invoked by uid 500); 10 Jun 2009 14:06:30 -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 90475 invoked by uid 99); 10 Jun 2009 14:06:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 10 Jun 2009 14:06:30 +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; Wed, 10 Jun 2009 14:06:28 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 6D5DB234C004 for ; Wed, 10 Jun 2009 07:06:07 -0700 (PDT) Message-ID: <1369398587.1244642767433.JavaMail.jira@brutus> Date: Wed, 10 Jun 2009 07:06:07 -0700 (PDT) From: "Mamta A. Satoor (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Commented: (DERBY-4142) java.lang.VerifyError causing java.sql.SQLException: Cannot create an instance of generated class ... in lang.GeneratedColumnsTest and GeneratedColumnsPermsTest on IBM iseries In-Reply-To: <519619065.1238730913028.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-4142?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12718087#action_12718087 ] Mamta A. Satoor commented on DERBY-4142: ---------------------------------------- I agree with Knut and prefer changing the return type Activation.getCurrentRow() to ExecRow since rest of the code is referencing to that object as ExecRow rather than just Row. also, I had to kill my suite test last night because the machine was getting really hot(not just because of this suite run, My machine has been heating up a lot lately). Have fired the tests again earlier this morning. > java.lang.VerifyError causing java.sql.SQLException: Cannot create an instance of generated class ... in lang.GeneratedColumnsTest and GeneratedColumnsPermsTest on IBM iseries > -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-4142 > URL: https://issues.apache.org/jira/browse/DERBY-4142 > Project: Derby > Issue Type: Bug > Components: SQL > Affects Versions: 10.5.1.1 > Environment: IBM iseries (AS 400) with ibm 1.5 (build 1.5.0_13-b05) > Reporter: Myrna van Lunteren > Assignee: Myrna van Lunteren > Attachments: create.sql, d4142-kah-noField.diff, d4142generated.java, decompile.out, DERBY-4142.diff, derby.properties, repro.sql, runjodedecompile.out, verify.out > > > This results in 22 errors. > Here's the stack trace with an insane build: > 1) test_005_basicInsert(org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsTest)java.sql.SQLException: Cannot create an instance of generated class org.apache.derby.exe.acd83d18d1x0120x62bdx2dffxffffb19003081. > at java.lang.Throwable.(Throwable.java:196) > at java.lang.Exception.(Exception.java:41) > at java.sql.SQLException.(SQLException.java:40) > at org.apache.derby.impl.jdbc.EmbedSQLException.(Unknown Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.seeNextException(Unknown Source) > at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown Source) > at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement.(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement20.(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedPreparedStatement30.(Unknown Source) > at org.apache.derby.jdbc.Driver30.newEmbedPreparedStatement(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) > at org.apache.derby.impl.jdbc.EmbedConnection.prepareStatement(Unknown Source) > at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.chattyPrepare(GeneratedColumnsHelper.java:147) > at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsHelper.goodStatement(GeneratedColumnsHelper.java:125) > at org.apache.derbyTesting.functionTests.tests.lang.GeneratedColumnsTest.test_005_basicInsert(GeneratedColumnsTest.java:427) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57) > at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22) > at junit.extensions.TestSetup$1.protect(TestSetup.java:19) > at junit.extensions.TestSetup.run(TestSetup.java:23) > Caused by: java.sql.SQLException: Java exception: 'org/apache/derby/exe/acd83d18d1x0120x62bdx2dffxffffb19003081 0000 0000 : java.lang.VerifyError'. > at java.lang.Throwable.(Throwable.java:196) > at java.lang.Exception.(Exception.java:41) > at java.sql.SQLException.(SQLException.java:40) > at org.apache.derby.impl.jdbc.EmbedSQLException.(Unknown Source) > at org.apache.derby.impl.jdbc.SQLExceptionFactory.getSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.newEmbedSQLException(Unknown Source) > at org.apache.derby.impl.jdbc.Util.javaException(Unknown Source) > at org.apache.derby.impl.jdbc.TransactionResourceImpl.wrapInSQLException(Unknown Source) > ... 43 more > Caused by: java.lang.VerifyError: org/apache/derby/exe/acd83d18d1x0120x62bdx2dffxffffb19003081 0000 0000 > at java.lang.Throwable.(Throwable.java:196) > at java.lang.Error.(Error.java:49) > at java.lang.VerifyError.(VerifyError.java:34) > at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:494) > at org.apache.derby.iapi.services.loader.ClassInfo.getNewInstance(Unknown Source) > at org.apache.derby.impl.services.reflect.LoadedGeneratedClass.newInstance(Unknown Source) > at org.apache.derby.impl.services.reflect.ReflectGeneratedClass.newInstance(Unknown Source) > at org.apache.derby.impl.sql.GenericActivationHolder.(Unknown Source) > at org.apache.derby.impl.sql.GenericPreparedStatement.getActivation(Unknown Source) > ... 39 more -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.