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

Missing M2 class on slave when publishing results

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • violations-plugin
    • None
    • Platform: All, OS: All

      Hello,
      On Hudson 1.300 and Violations plugin 0.7.3, the following exception occurs when
      publishing fxCop results on a .Net project :
      (we are using the same Violations plugins on other hudson slaves to publish
      junit and findbugs on Java projest and it works fine. Actually we had quite the
      same exception on the Java projects some time ago but it has been fixed since
      then by an hudson upgrade).

      FATAL: remote file operation failed

      hudson.util.IOException2: remote file operation failed

      at hudson.FilePath.act(FilePath.java:596)

      at
      hudson.plugins.violations.ViolationsPublisher.perform(ViolationsPublisher.java:77)

      at
      hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:56)

      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:372)

      at
      hudson.model.AbstractBuild$AbstractRunner.performAllBuildStep(AbstractBuild.java:360)

      at hudson.model.Build$RunnerImpl.post2(Build.java:183)

      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:345)

      at hudson.model.Run.run(Run.java:943)

      at hudson.model.Build.run(Build.java:112)

      at hudson.model.ResourceController.execute(ResourceController.java:93)

      at hudson.model.Executor.run(Executor.java:119)

      Caused by: java.io.IOException: Remote call failed

      at hudson.remoting.Channel.call(Channel.java:490)

      at hudson.FilePath.act(FilePath.java:593)

      ... 10 more

      Caused by: java.lang.NoClassDefFoundError: hudson/maven/MavenReporterDescriptor

      at java.lang.ClassLoader.defineClass1(Native Method)

      at java.lang.ClassLoader.defineClass(Unknown Source)

      at java.lang.ClassLoader.defineClass(Unknown Source)

      at hudson.remoting.RemoteClassLoader.findClass(RemoteClassLoader.java:100)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClass(Unknown Source)

      at java.lang.ClassLoader.loadClassInternal(Unknown Source)

      at
      hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:98)

      at
      hudson.plugins.violations.ViolationsCollector.invoke(ViolationsCollector.java:27)

      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1583)

      at hudson.remoting.UserRequest.perform(UserRequest.java:97)

      at hudson.remoting.UserRequest.perform(UserRequest.java:46)

      at hudson.remoting.Request$2.run(Request.java:236)

      at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)

      at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

      at java.util.concurrent.FutureTask.run(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

      at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

      at hudson.remoting.Engine$1$1.run(Engine.java:54)

      at java.lang.Thread.run(Unknown Source)

      Thanks in advance for your help,
      Mathieu

            peterkittreilly peterkittreilly
            mathieucousy mathieucousy
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: