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-4781) suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest
Date Fri, 20 Aug 2010 18:10:24 GMT

    [ 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.


Mime
View raw message