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

PluginManager method signature inconsistency

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • maven-plugin
    • None
    • Platform: All, OS: All

      I'm running the sonar plugin on a slave and I get this error. If I run the same
      goals manually on the slave machine it is successful. This problem looks very
      similar to recently fixed issue 3449
      https://hudson.dev.java.net/issues/show_bug.cgi?id=3449

      :
      [HUDSON] Recording test results
      [HUDSON] Archiving
      /usr/local/hudson/workspace/core-sonar/core-sonar/maven/exec/pom.xml to
      /usr/local/hudson/workspace/jobs/core-sonar/modules/com.tvworks.tva.maven$tva-maven-exec/builds/2009-06-04_01-01-50/archive/com.tvworks.tva.maven/tva-maven-exec/3.5-SNAPSHOT/pom.xml
      [HUDSON] Not actually archiving due to digest match
      [FATAL ERROR] org.sonar.mojo.InternalMojo#execute() caused a linkage error
      (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
      [FATAL ERROR] Plugin realm =
      app0.child-container[org.codehaus.sonar.runtime:sonar-core-maven-plugin:20090601153906]
      urls[0] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/sonar-core-maven-plugin/20090601153906/sonar-core-maven-plugin-20090601153906.jar
      urls[1] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/sonar-commons/1.9/sonar-commons-1.9.jar
      urls[2] =
      file:/home/hudson/.m2/repository/org/picocontainer/picocontainer/2.7/picocontainer-2.7.jar
      urls[3] =
      file:/home/hudson/.m2/repository/org/slf4j/slf4j-api/1.5.6/slf4j-api-1.5.6.jar
      urls[4] =
      file:/home/hudson/.m2/repository/org/slf4j/jcl-over-slf4j/1.5.6/jcl-over-slf4j-1.5.6.jar
      urls[5] =
      file:/home/hudson/.m2/repository/ch/qos/logback/logback-classic/0.9.15/logback-classic-0.9.15.jar
      urls[6] =
      file:/home/hudson/.m2/repository/ch/qos/logback/logback-core/0.9.15/logback-core-0.9.15.jar
      urls[7] =
      file:/home/hudson/.m2/repository/geronimo-spec/geronimo-spec-jta/1.0-M1/geronimo-spec-jta-1.0-M1.jar
      urls[8] =
      file:/home/hudson/.m2/repository/org/hibernate/hibernate/3.2.6.ga/hibernate-3.2.6.ga.jar
      urls[9] =
      file:/home/hudson/.m2/repository/net/sf/ehcache/ehcache/1.2.3/ehcache-1.2.3.jar
      urls[10] =
      file:/home/hudson/.m2/repository/commons-collections/commons-collections/3.2.1/commons-collections-3.2.1.jar
      urls[11] = file:/home/hudson/.m2/repository/asm/asm-attrs/1.5.3/asm-attrs-1.5.3.jar
      urls[12] = file:/home/hudson/.m2/repository/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar
      urls[13] = file:/home/hudson/.m2/repository/antlr/antlr/2.7.6/antlr-2.7.6.jar
      urls[14] = file:/home/hudson/.m2/repository/cglib/cglib/2.1_3/cglib-2.1_3.jar
      urls[15] = file:/home/hudson/.m2/repository/asm/asm/1.5.3/asm-1.5.3.jar
      urls[16] =
      file:/home/hudson/.m2/repository/org/hibernate/hibernate-annotations/3.3.1.GA/hibernate-annotations-3.3.1.GA.jar
      urls[17] =
      file:/home/hudson/.m2/repository/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar
      urls[18] =
      file:/home/hudson/.m2/repository/org/hibernate/ejb3-persistence/1.0.1.GA/ejb3-persistence-1.0.1.GA.jar
      urls[19] =
      file:/home/hudson/.m2/repository/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar
      urls[20] =
      file:/home/hudson/.m2/repository/org/hibernate/hibernate-entitymanager/3.3.1.ga/hibernate-entitymanager-3.3.1.ga.jar
      urls[21] =
      file:/home/hudson/.m2/repository/org/hibernate/hibernate-validator/3.0.0.ga/hibernate-validator-3.0.0.ga.jar
      urls[22] =
      file:/home/hudson/.m2/repository/jboss/javassist/3.3.ga/javassist-3.3.ga.jar
      urls[23] =
      file:/home/hudson/.m2/repository/jboss/jboss-common-core/2.0.4.GA/jboss-common-core-2.0.4.GA.jar
      urls[24] =
      file:/home/hudson/.m2/repository/commons-configuration/commons-configuration/1.5/commons-configuration-1.5.jar
      urls[25] =
      file:/home/hudson/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[26] =
      file:/home/hudson/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar
      urls[27] =
      file:/home/hudson/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar
      urls[28] =
      file:/home/hudson/.m2/repository/commons-beanutils/commons-beanutils-core/1.7.0/commons-beanutils-core-1.7.0.jar
      urls[29] =
      file:/home/hudson/.m2/repository/commons-io/commons-io/1.4/commons-io-1.4.jar
      urls[30] =
      file:/home/hudson/.m2/repository/commons-dbcp/commons-dbcp/1.2.2/commons-dbcp-1.2.2.jar
      urls[31] =
      file:/home/hudson/.m2/repository/commons-pool/commons-pool/1.3/commons-pool-1.3.jar
      urls[32] =
      file:/home/hudson/.m2/repository/xerces/xercesImpl/2.8.1/xercesImpl-2.8.1.jar
      urls[33] =
      file:/home/hudson/.m2/repository/xml-apis/xml-apis/1.3.03/xml-apis-1.3.03.jar
      urls[34] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/sonar-plugin-api/1.9/sonar-plugin-api-1.9.jar
      urls[35] =
      file:/home/hudson/.m2/repository/commons-codec/commons-codec/1.3/commons-codec-1.3.jar
      urls[36] =
      file:/home/hudson/.m2/repository/jfree/jfreechart/1.0.9/jfreechart-1.0.9.jar
      urls[37] = file:/home/hudson/.m2/repository/jfree/jcommon/1.0.12/jcommon-1.0.12.jar
      urls[38] =
      file:/home/hudson/.m2/repository/com/thoughtworks/xstream/xstream/1.3/xstream-1.3.jar
      urls[39] = file:/home/hudson/.m2/repository/xpp3/xpp3/1.1.3.3/xpp3-1.1.3.3.jar
      urls[40] =
      file:/home/hudson/.m2/repository/org/codehaus/woodstox/woodstox-core-lgpl/4.0.4/woodstox-core-lgpl-4.0.4.jar
      urls[41] = file:/home/hudson/.m2/repository/stax/stax-api/1.0.1/stax-api-1.0.1.jar
      urls[42] =
      file:/home/hudson/.m2/repository/org/codehaus/woodstox/stax2-api/3.0.1/stax2-api-3.0.1.jar
      urls[43] =
      file:/home/hudson/.m2/repository/org/codehaus/staxmate/staxmate/2.0.0/staxmate-2.0.0.jar
      urls[44] = file:/home/hudson/.m2/repository/pmd/pmd/4.2.5/pmd-4.2.5.jar
      urls[45] = file:/home/hudson/.m2/repository/ant/ant/1.6/ant-1.6.jar
      urls[46] = file:/home/hudson/.m2/repository/jaxen/jaxen/1.1.1/jaxen-1.1.1.jar
      urls[47] = file:/home/hudson/.m2/repository/jdom/jdom/1.0/jdom-1.0.jar
      urls[48] = file:/home/hudson/.m2/repository/xom/xom/1.0/xom-1.0.jar
      urls[49] =
      file:/home/hudson/.m2/repository/xerces/xmlParserAPIs/2.6.2/xmlParserAPIs-2.6.2.jar
      urls[50] = file:/home/hudson/.m2/repository/xalan/xalan/2.6.0/xalan-2.6.0.jar
      urls[51] = file:/home/hudson/.m2/repository/com/ibm/icu/icu4j/2.6.1/icu4j-2.6.1.jar
      urls[52] = file:/home/hudson/.m2/repository/junit/junit/4.4/junit-4.4.jar
      urls[53] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/sonar-squid/1.9/sonar-squid-1.9.jar
      urls[54] =
      file:/home/hudson/.m2/repository/checkstyle/checkstyle/4.4/checkstyle-4.4.jar
      urls[55] = file:/home/hudson/.m2/repository/org/jdom/jdom/1.1/jdom-1.1.jar
      urls[56] =
      file:/home/hudson/.m2/repository/commons-math/commons-math/1.2/commons-math-1.2.jar
      urls[57] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/jdbc-driver/parent/20090601153906/parent-20090601153906.pom
      urls[58] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/jdbc-driver/ojdbc5/20090601153906/ojdbc5-20090601153906.jar
      urls[59] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/parent/20090601153906/parent-20090601153906.pom
      urls[60] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-checkstyle-1.9/20090601153906/sonar-plugin-checkstyle-1.9-20090601153906.jar
      urls[61] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-squid-1.9/20090601153906/sonar-plugin-squid-1.9-20090601153906.jar
      urls[62] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cobertura-1.9/20090601153906/sonar-plugin-cobertura-1.9-20090601153906.jar
      urls[63] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-findbugs-1.9/20090601153906/sonar-plugin-findbugs-1.9-20090601153906.jar
      urls[64] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-core-1.9/20090601153906/sonar-plugin-core-1.9-20090601153906.jar
      urls[65] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-googleanalytics-1.9/20090601153906/sonar-plugin-googleanalytics-1.9-20090601153906.jar
      urls[66] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-pmd-1.9/20090601153906/sonar-plugin-pmd-1.9-20090601153906.jar
      urls[67] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-surefire-1.9/20090601153906/sonar-plugin-surefire-1.9-20090601153906.jar
      urls[68] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-cpd-1.9/20090601153906/sonar-plugin-cpd-1.9-20090601153906.jar
      urls[69] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/plugins/sonar-plugin-clover-1.9/20090601153906/sonar-plugin-clover-1.9-20090601153906.jar
      urls[70] =
      file:/home/hudson/.m2/repository/org/codehaus/sonar/runtime/rules-extensions/parent/20090601153906/parent-20090601153906.pom
      urls[71] =
      file:/home/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      [FATAL ERROR] Container realm = plexus.core.maven
      urls[0] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ftp/1.0-beta-2/wagon-ftp-1.0-beta-2.jar
      urls[1] =
      file:/home/hudson/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar
      urls[2] = file:/home/hudson/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
      urls[3] =
      file:/home/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      urls[4] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar
      urls[5] =
      file:/home/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
      urls[6] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar
      urls[7] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar
      [FATAL ERROR] org.codehaus.mojo.sonar.SonarMojo#execute() caused a linkage error
      (java.lang.NoSuchMethodError) and may be out-of-date. Check the realms:
      [FATAL ERROR] Plugin realm =
      app0.child-container[org.codehaus.mojo:sonar-maven-plugin:1.0-beta-1]
      urls[0] =
      file:/home/hudson/.m2/repository/org/codehaus/mojo/sonar-maven-plugin/1.0-beta-1/sonar-maven-plugin-1.0-beta-1.jar
      urls[1] =
      file:/home/hudson/.m2/repository/commons-io/commons-io/1.3/commons-io-1.3.jar
      urls[2] =
      file:/home/hudson/.m2/repository/commons-lang/commons-lang/2.4/commons-lang-2.4.jar
      urls[3] =
      file:/home/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      [FATAL ERROR] Container realm = plexus.core.maven
      urls[0] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ftp/1.0-beta-2/wagon-ftp-1.0-beta-2.jar
      urls[1] =
      file:/home/hudson/.m2/repository/commons-net/commons-net/1.4.1/commons-net-1.4.1.jar
      urls[2] = file:/home/hudson/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar
      urls[3] =
      file:/home/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
      urls[4] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ssh-external/1.0-beta-2/wagon-ssh-external-1.0-beta-2.jar
      urls[5] =
      file:/home/hudson/.m2/repository/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar
      urls[6] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ssh-common/1.0-beta-2/wagon-ssh-common-1.0-beta-2.jar
      urls[7] =
      file:/home/hudson/.m2/repository/org/apache/maven/wagon/wagon-ssh/1.0-beta-2/wagon-ssh-1.0-beta-2.jar
      [INFO] ------------------------------------------------------------------------
      [ERROR] FATAL ERROR
      [INFO] ------------------------------------------------------------------------
      [INFO]
      org.apache.maven.plugin.PluginManagerException.<init>(Ljava/lang/String;Ljava/lang/Exception;)V
      [INFO] ------------------------------------------------------------------------
      [INFO] Trace
      java.lang.NoSuchMethodError:
      org.apache.maven.plugin.PluginManagerException.<init>(Ljava/lang/String;Ljava/lang/Exception;)V
      at
      hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:195)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:540)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkProjectLifecycle(DefaultLifecycleExecutor.java:1168)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.forkLifecycle(DefaultLifecycleExecutor.java:1009)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:627)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:332)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.java:65)
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:49)
      at org.sonar.mojo.MojoExecutor.executeMojo(MojoExecutor.java:33)
      at org.sonar.mojo.InternalMojo.executeMojo(InternalMojo.java:279)
      at org.sonar.mojo.InternalMojo.executeMojos(InternalMojo.java:261)
      at org.sonar.mojo.InternalMojo.processModules(InternalMojo.java:175)
      at org.sonar.mojo.InternalMojo.execute(InternalMojo.java:160)
      at
      org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
      at
      hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
      at org.codehaus.mojo.sonar.Bootstraper.executeMojo(Bootstraper.java:82)
      at org.codehaus.mojo.sonar.Bootstraper.start(Bootstraper.java:65)
      at org.codehaus.mojo.sonar.SonarMojo.execute(SonarMojo.java:117)
      at
      org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
      at
      hudson.maven.agent.PluginManagerInterceptor.executeMojo(PluginManagerInterceptor.java:182)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:553)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:523)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:371)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
      at
      org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:181)
      at
      org.apache.maven.lifecycle.LifecycleExecutorInterceptor.execute(LifecycleExecutorInterceptor.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:356)
      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: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:584)
      at hudson.maven.MavenModuleSetBuild$Builder.call(MavenModuleSetBuild.java:530)
      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:886)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
      at java.lang.Thread.run(Thread.java:619)

            Unassigned Unassigned
            manwich5 manwich5
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: