Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-262

Tests fail with 'java.lang.NoSuchMethodException: org.openejb.deployment.DeploymentTestSuite.getName()'

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.0
    • 2.0
    • build
    • None

    Description

      jlaskowski@dev /cygdrive/c/oss/openejb2
      $ mvn install
      ...
      Retrieving document at 'META-INF/wsdl/test-ejb.wsdl'.
      org.apache.maven.surefire.booter.SurefireExecutionException: org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception is java.lang.reflect.UndeclaredThrowableException:
      null; nested exception is org.apache.maven.surefire.testset.TestSetFailedException: org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception is java.lang.reflect.Undecla
      redThrowableException: null
      org.apache.maven.surefire.testset.TestSetFailedException: org.openejb.deployment.EjbJarModuleDeploymentTest; nested exception is java.lang.reflect.UndeclaredThrowableException: nul
      l
      java.lang.reflect.UndeclaredThrowableException
      at $Proxy0.addError(Unknown Source)
      at junit.framework.TestResult.addError(TestResult.java:36)
      at junit.framework.TestResult.runProtected(TestResult.java:133)
      at org.openejb.deployment.DeploymentTestSuite.run(DeploymentTestSuite.java:121)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
      at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
      at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
      at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
      Caused by: java.lang.NoSuchMethodException: org.openejb.deployment.DeploymentTestSuite.getName()
      at java.lang.Class.getMethod(Class.java:986)
      at org.apache.maven.surefire.junit.TestListenerInvocationHandler.getStackTraceWriter(TestListenerInvocationHandler.java:171)
      at org.apache.maven.surefire.junit.TestListenerInvocationHandler.handleAddError(TestListenerInvocationHandler.java:160)
      at org.apache.maven.surefire.junit.TestListenerInvocationHandler.invoke(TestListenerInvocationHandler.java:134)
      ... 18 more
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.
      [INFO] ------------------------------------------------------------------------
      [INFO] For more information, run Maven with the -e switch
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 4 minutes 18 seconds
      [INFO] Finished at: Fri Sep 01 16:55:00 CEST 2006
      [INFO] Final Memory: 33M/254M
      [INFO] ------------------------------------------------------------------------

      Attachments

        Activity

          People

            jlaskowski Jacek Laskowski
            jlaskowski Jacek Laskowski
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: