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

Cannot publish FindBugs reports from remote node

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • findbugs-plugin
    • None
    • Jenkins 1.409, Linux Slaves - OS: Centos 5.3 & Ubuntu 10.10 (Slave Client 1.409)

      When attempting to publish FindBugs report from a Linux slave, I am receiving the following exception:
      [FINDBUGS] Collecting findbugs analysis files...
      ERROR: Publisher hudson.plugins.findbugs.FindBugsPublisher aborted due to exception
      hudson.util.IOException2: remote file operation failed: /apps/hudson/workspace/MyFindBugsJob at hudson.remoting.Channel@93e684:my-linux-slave
      at hudson.FilePath.act(FilePath.java:752)
      at hudson.FilePath.act(FilePath.java:738)
      at hudson.plugins.findbugs.FindBugsPublisher.perform(FindBugsPublisher.java:135)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:281)
      at hudson.tasks.BuildStepMonitor$2.perform(BuildStepMonitor.java:27)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:649)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:625)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:603)
      at hudson.model.Build$RunnerImpl.post2(Build.java:161)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:572)
      at hudson.model.Run.run(Run.java:1386)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:145)
      Caused by: java.io.IOException: Remote call on dev-linbuild01 failed
      at hudson.remoting.Channel.call(Channel.java:652)
      at hudson.FilePath.act(FilePath.java:745)
      ... 13 more
      Caused by: java.lang.NoClassDefFoundError: Could not initialize class edu.umd.cs.findbugs.SortedBugCollection
      at hudson.plugins.findbugs.parser.FindBugsParser.readXml(FindBugsParser.java:242)
      at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:196)
      at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:133)
      at hudson.plugins.findbugs.parser.FindBugsParser.parse(FindBugsParser.java:93)
      at hudson.plugins.analysis.core.FilesParser.parseFile(FilesParser.java:197)
      at hudson.plugins.analysis.core.FilesParser.parseFiles(FilesParser.java:176)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:126)
      at hudson.plugins.analysis.core.FilesParser.invoke(FilesParser.java:29)
      at hudson.FilePath$FileCallableWrapper.call(FilePath.java:1956)
      at hudson.remoting.UserRequest.perform(UserRequest.java:118)
      at hudson.remoting.UserRequest.perform(UserRequest.java:48)
      at hudson.remoting.Request$2.run(Request.java:270)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
      at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
      at java.util.concurrent.FutureTask.run(FutureTask.java:166)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      at java.lang.Thread.run(Thread.java:636)

            drulli Ulli Hafner
            skinnison Stephen Kinnison
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: