[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12902394#action_12902394 ] Knut Anders Hatlen commented on DERBY-4781: --- Thanks for the fix, Nirmal! I've committed it to trunk with revision 989036. > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-fixerToDOM.diff, > derby-4587-removeSplitMethod.diff, derby-4587-removeSplitMethod.diff, > derby-4587-removeSplitMethod.diff, derby-4587-removeSplitMethod.diff, > ReplaceTest.java, signature.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[
https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901918#action_12901918
]
Bryan Pendleton commented on DERBY-4781:
Rather than writing the method recursively, perhaps it's clearer to write it as
a 'while' loop:
int idx = stmt.indexOf(expr);
while (idx >= 0)
{
stmt = stmt.substring(0, idx) + replace + stmt.substring(idx+1);
idx = stmt.indexOf(expr);
}
return stmt;
> suites.All fails completely with Failed to invoke
> suite():java.lang.reflect.InvocationTargetException because of
> XplainStatisticsTest
> ---
>
> Key: DERBY-4781
> URL: https://issues.apache.org/jira/browse/DERBY-4781
> Project: Derby
> Issue Type: Bug
> Components: Test
>Affects Versions: 10.7.0.0
> Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT
> enabled, AOT enabled)
> J9VM - 20080919_023055_lHdFGQ
> JIT - r9.weme62_20080724_2131
> GC - 20080609_AA
>Reporter: Kathey Marsden
>Assignee: C.S. Nirmal J. Fernando
> Attachments: derby-4587-fixerToDOM.diff,
> derby-4587-removeSplitMethod.diff, derby-4587-removeSplitMethod.diff,
> derby-4587-removeSplitMethod.diff, ReplaceTest.java, signature.diff
>
>
> weme 6.2 tests fail to kick off because of XplainStatisticsTest after the
> change:
> r982637 DERBY-4587: Add tools for query plan analysis
> The problem seems related to the import and use of
> import org.w3c.dom.Document;
> import org.w3c.dom.NodeList;
> I am not sure if there are additional jars that I need to use to get these
> libraries from the weme distribution or if they are available. After this
> same checkin the test also fails on CVM/phoneme with the error below but it
> does not prevent the full suite from kicking off.
> ime: 15,558.801
> There was 1 error:
> 1)
> testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError:
> java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not
> found
> at
> org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown
> Source)
> at
> org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown
> Source)
> at
> org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown
> Source)
> at
> org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown
> Source)
> at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source)
> at junit.extensions.TestDecorator.basicRun(Unknown Source)
> at junit.extensions.TestSetup$1.protect(Unknown Source)
> at junit.extensions.TestSetup.run(Unknown Source)
> at junit.extensions.TestDecorator.basicRun(Unknown Source)
> at junit.extensions.TestSetup$1.protect(Unknown Source)
> at junit.extensions.TestSetup.run(Unknown Source)
> at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source)
> at sun.misc.CVM.runMain(Unknown Source)
> FAILURES!!!
> http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901754#action_12901754 ] Knut Anders Hatlen commented on DERBY-4781: --- The new replace() method looks broken to me. Won't it always return an empty string if a matching character is found? Also, does it need to call stmt.indexOf(expr) three times? Once ought to be enough, I think. > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-fixerToDOM.diff, > derby-4587-removeSplitMethod.diff, derby-4587-removeSplitMethod.diff, > signature.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12901607#action_12901607 ] Kathey Marsden commented on DERBY-4781: --- Thank you Knut. signature.diff indeed made the tests run. I committed with revision 988321, so we should see weme run tonight. One thing I noticed is that there is a fairly large block of work in an if(XML.classpathMeetsXMLReqs()) block, so actually the same number of fixtures run with or without XML availability. It would be nice if somehow this testing could be a separate fixture so that we see a lower test count when fewer tests are run. > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-fixerToDOM.diff, > derby-4587-removeSplitMethod.diff, derby-4587-removeSplitMethod.diff, > signature.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900960#action_12900960 ] C.S. Nirmal J. Fernando commented on DERBY-4781: Hi Kathey, I was searching for that API, thanks for the link! I'll attach a patch soon! Thanks for addressing the issue with weme too! > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-fixerToDOM.diff, > derby-4587-removeSplitMethod.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900954#action_12900954 ] Bryan Pendleton commented on DERBY-4781: +1 to the solution Kathey proposes in DERBY-4782 > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-fixerToDOM.diff, > derby-4587-removeSplitMethod.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900807#action_12900807 ] Kathey Marsden commented on DERBY-4781: --- Hello Nirmal, for the removeSplitMethod patch, there is still and issue because replaceAll is not available either. See: http://download-llnw.oracle.com/javame/config/cldc/ref-impl/cldc1.1/jsr139/java/lang/String.html For the fixerToDOM patch it does not work to inline the full class names into the method. You would need to use Class.forName() to load the class and then reflection to get at the methods if the class does not exist. I think it would be ok though to just require that weme runs run with xml-apis.jar. I think it is fine to check it in and think it would be covered by the Xalan statement in the NOTICE file. We used to have it but removed it because it was no longer used by the build. > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-fixerToDOM.diff, > derby-4587-removeSplitMethod.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900565#action_12900565 ] Kathey Marsden commented on DERBY-4781: --- Thank you Nirmal. I do not actually see xml-apis.jar in the repository http://svn.apache.org/viewvc/db/derby/code/trunk/tools/java/ I downloaded it with xalan 2.7.1, put it in my boot path and just get the split error seen with phoneme, so presumably xml-apis.jar is J2ME ready and works fine at least for this test. So I guess the question is should xml-apis.jar be checked in? It certainly would be convenient for weme runs if it is. > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-removeSplitMethod.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900562#action_12900562 ] C.S. Nirmal J. Fernando commented on DERBY-4781: Hi Kathey, These two classes are available in "xml-apis.jar" located in tools/java. Hope this helps! Thanks > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-removeSplitMethod.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900557#action_12900557 ] Kathey Marsden commented on DERBY-4781: --- I think that will resolve the failure with phoneme but weme is more serious. In weme we do not have the xml classes: import org.w3c.dom.Document; import org.w3c.dom.NodeList; And this leads to an immediate and complete failure of suites.All with suite():java.lang.reflect.InvocationTargetException. Running the test stand alone gives more information: + c:/cygwin/ibmsvn/ntsoftware/weme6.2/bin/j9 -jcl:foun11 -Demma.active= -Xbootclasspath a:c:/cygwin/ibmsvn/ntsoftware/weme6.2/lib/jdbc.jar -Dbootcp=c:/cygwin/ibmsvn/nt oftware/weme6.2/lib/jdbc.jar junit.textui.TestRunner org.apache.derbyTesting.fu ctionTests.tests.lang.XplainStatisticsTest Failed to invoke suite():java.lang.NoClassDefFoundError: org.w3c.dom.Document I searched all the jars and zips in the weme distribution for this class and did not see it. Myrna is checking if there is an external jar somewhere available. If not we will need to do something in the test to load the classes dynamically if available and skip the fixture using them for weme. Hopefully that won't be necessary. > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden >Assignee: C.S. Nirmal J. Fernando > Attachments: derby-4587-removeSplitMethod.diff > > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900552#action_12900552 ] Bryan Pendleton commented on DERBY-4781: The exception seems to point to a problem with String.split() I agree. Nirmal, if you can construct a patch which does not use String.split(), then perhaps Kathey could check your patch in her environment to see if it resolves the problem for her? > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
[jira] Commented: (DERBY-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
[ https://issues.apache.org/jira/browse/DERBY-4781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12900547#action_12900547 ] C.S. Nirmal J. Fernando commented on DERBY-4781: Hi Kathey, To me it seems like this error was caused by the use of String.split() method, in the replace method of AccessDatabase class. May be replacement to that method would do? What you think? Thanks for pointing this out!! > suites.All fails completely with Failed to invoke > suite():java.lang.reflect.InvocationTargetException because of > XplainStatisticsTest > --- > > Key: DERBY-4781 > URL: https://issues.apache.org/jira/browse/DERBY-4781 > Project: Derby > Issue Type: Bug > Components: Test >Affects Versions: 10.7.0.0 > Environment: java.fullversion: IBM J9 2.4 Windows XP x86-32 (JIT > enabled, AOT enabled) > J9VM - 20080919_023055_lHdFGQ > JIT - r9.weme62_20080724_2131 > GC - 20080609_AA >Reporter: Kathey Marsden > > weme 6.2 tests fail to kick off because of XplainStatisticsTest after the > change: > r982637 DERBY-4587: Add tools for query plan analysis > The problem seems related to the import and use of > import org.w3c.dom.Document; > import org.w3c.dom.NodeList; > I am not sure if there are additional jars that I need to use to get these > libraries from the weme distribution or if they are available. After this > same checkin the test also fails on CVM/phoneme with the error below but it > does not prevent the full suite from kicking off. > ime: 15,558.801 > There was 1 error: > 1) > testScanPositions(org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest)java.lang.NoSuchMethodError: > java.lang.String: method split(Ljava/lang/String;)[Ljava/lang/String; not > found > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.replace(Unknown > Source) > at > org.apache.derby.impl.tools.planexporter.AccessDatabase.statement(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.disableXplainStyle(Unknown > Source) > at > org.apache.derbyTesting.functionTests.tests.lang.XplainStatisticsTest.testScanPositions(Unknown > Source) > at org.apache.derbyTesting.junit.BaseTestCase.runBare(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at junit.extensions.TestDecorator.basicRun(Unknown Source) > at junit.extensions.TestSetup$1.protect(Unknown Source) > at junit.extensions.TestSetup.run(Unknown Source) > at org.apache.derbyTesting.junit.BaseTestSetup.run(Unknown Source) > at sun.misc.CVM.runMain(Unknown Source) > FAILURES!!! > http://dbtg.foundry.sun.com/derby/test/Daily/javaME/testing/testlog/ubuntu/983036-suitesAll_diff.txt -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.
