Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-4303

NoSuchMethodError: org.apache.maven.plugin.PluginManagerException.<init>(Ljava/lang/String;Ljava/lang/Exception;)V after running tests

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: Windows XP

      Hi have a maven2 job that ran fine for a couple of days. Suddenly, after
      updating hudson to 1.320, I get this exception after running the tests.

      Tests run: 34, Failures: 34, Errors: 0, Skipped: 0, Time elapsed: 6.329 sec <<<
      FAILURE!

      Results :

      Failed tests:
      ...

      Tests run: 652, Failures: 349, Errors: 1, Skipped: 0
      ...
      [ERROR] There are test failures.

      Please refer to C:\Documents and Settings\...\target\surefire-reports for the
      individual test results.
      [HUDSON] Vastleggen testresultaten
      [HUDSON] Archiving C:\...\pom.xml to C:\...\.hudson\jobs\...\1.0.0.4\pom.xml
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO]
      org.apache.maven.plugin.PluginManagerException.<init>(Ljava/lang/String;Ljava/la
      ng/Exception;)V
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NoSuchMethodError:
      org.apache.maven.plugin.PluginManagerException.<init>(Ljava/lang/String;Ljava/la
      ng/Exception;)V
      at
      hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor
      .java:195)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycl
      eExecutor.java:678)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(Def
      aultLifecycleExecutor.java:540)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycle
      Executor.java:519)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures
      (DefaultLifecycleExecutor.java:371)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultL
      ifecycleExecutor.java:332)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExec
      utor.java:181)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecuto
      rInterceptor.java:65)
      at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:356)
      at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:137)
      at org.apache.maven.cli.MavenCli.main(MavenCli.java:362)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at
      sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at
      sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.jav
      a:25)
      at java.lang.reflect.Method.invoke(Method.java:597)
      at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
      at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
      at hudson.maven.agent.Main.launch(Main.java:165)
      at hudson.maven.MavenBuilder.call(MavenBuilder.java:159)
      at
      hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:685)
      at
      hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:631)
      at hudson.remoting.UserRequest.perform(UserRequest.java:103)
      at hudson.remoting.UserRequest.perform(UserRequest.java:47)
      at hudson.remoting.Request$2.run(Request.java:236)
      at
      java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
      at java.util.concurrent.FutureTask.run(FutureTask.java:138)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:8
      86)
      at
      java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)
      [INFO] ------------------------------------------------------------------------
      [INFO] Total time: 2 minutes 37 seconds
      [INFO] Finished at: Tue Aug 25 08:21:12 CEST 2009
      [INFO] Final Memory: 18M/37M
      [INFO] ------------------------------------------------------------------------
      Wachtend to Hudson het verzamelen van gegevens beƫindigd heeft
      channel stopped
      Finished: FAILURE

            Unassigned Unassigned
            toelen toelen
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: