Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-4781

suites.All fails completely with Failed to invoke suite():java.lang.reflect.InvocationTargetException because of XplainStatisticsTest

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.7.1.1
    • Fix Version/s: 10.7.1.1
    • Component/s: Test
    • Labels:
      None
    • 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
    • Issue & fix info:
      High Value Fix
    • Bug behavior facts:
      Regression Test Failure

      Description

      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

        Attachments

        1. derby-4587-removeSplitMethod.diff
          0.7 kB
          Nirmal Fernando
        2. derby-4587-fixerToDOM.diff
          3 kB
          Nirmal Fernando
        3. derby-4587-removeSplitMethod.diff
          1.0 kB
          Nirmal Fernando
        4. signature.diff
          2 kB
          Knut Anders Hatlen
        5. derby-4587-removeSplitMethod.diff
          0.8 kB
          Nirmal Fernando
        6. ReplaceTest.java
          0.8 kB
          Knut Anders Hatlen
        7. derby-4587-removeSplitMethod.diff
          0.9 kB
          Nirmal Fernando
        There are no Sub-Tasks for this issue.

          Activity

            People

            • Assignee:
              nirmal Nirmal Fernando
              Reporter:
              kmarsden Kathey Marsden
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: