db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-3081) cannot create instance of generated class because of java.lang.VerifyError in 4 tests on IBM iseries
Date Mon, 24 Sep 2007 18:15:50 GMT

    [ https://issues.apache.org/jira/browse/DERBY-3081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12529931
] 

Kathey Marsden commented on DERBY-3081:
---------------------------------------

The case from testTrimCharIsExpr reproduces with ij.

 create table tt (id int, v varchar(16), c char(16), cl clob(10240));  
0 rows inserted/updated/deleted
  ij(CONNECTION1)>
> insert into tt values (1, 'abcaca', 'abcaca', 'abcaca');
  1 row inserted/updated/deleted
  ij(CONNECTION1)>
> SELECT count(*) FROM tt  WHERE id = 1 AND (trim (leading substr(v,1,1) from v
  )) = 'bcaca';
  ERROR XBCM2: Cannot create an instance of generated class org.apache.derby.ex
  e.ac12564092x0115x38a7xf2edx00000104c6301.
  ERROR XJ001: Java exception: 'org/apache/derby/exe/ac12564092x0115x38a7xf2edx
  00000104c6301 0000 0000 : java.lang.VerifyError'.
  ij(CONNECTION1)>
> exit;
 
Unfortunately I can't seem to get the class file to dump even with 
 derby.debug.true=DumpClassFile

I seem to recall some sort of problem with this if the failure came early, but I can't find
the Jira entry right now.  




> cannot create instance of generated class because of java.lang.VerifyError in 4 tests
on IBM iseries
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-3081
>                 URL: https://issues.apache.org/jira/browse/DERBY-3081
>             Project: Derby
>          Issue Type: Bug
>    Affects Versions: 10.3.1.4
>         Environment: IBM iseries, OS: V5R4M0; both with ibm 142 (build 1.4.2_08-b02)
and 15 jvm (build 1.5.0_03-b07)
>            Reporter: Myrna van Lunteren
>            Assignee: Kathey Marsden
>
> 4 tests fail to instantiate a generated class:
> 	1) testTrimCharIsExpr(org.apache.derbyTesting.functionTests.tests.lang.AnsiTrimTest)java.sql.SQLException:
Cannot create an instance of generated class org.apache.derby.exe.ac848c0061x0114xfee3x0ec7x0000636c39840.
> 	2) testEnglishCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)java.sql.SQLException:
Cannot create an instance of generated class org.apache.derby.exe.aca31ba168x0114xfee3x0ec7x0000636c39842a.
> 	3) testNorwayCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)java.sql.SQLException:
Cannot create an instance of generated class org.apache.derby.exe.ac066fa8c8x0114xfee3x0ec7x0000636c39842a.
> 	4) testPolishCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)java.sql.SQLException:
Nie mo?na utworzy? instancji wygenerowanej klasy org.apache.derby.exe.ac86a73025x0114xfee3x0ec7x0000636c39842a.
> All these something like this:
>     ------------------------
>     Caused by: java.lang.VerifyError: org/apache/derby/exe/ac86a73025x0114xfee3x0ec7x0000636c39842a
0000 0000 
> 	at java.lang.Throwable.<init>(Throwable.java:195)
> 	at java.lang.Error.<init>(Error.java:49)
> 	at java.lang.VerifyError.<init>(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:274)
> 	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.<init>(Unknown Source)
> 	at org.apache.derby.impl.sql.GenericPreparedStatement.getActivation(Unknown Source)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message