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

Fortify plugin issue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • fortify360-plugin
    • None
    • Linux pilsner 2.6.9-34.ELsmp #1 SMP Fri Feb 24 16:56:28 EST 2006 x86_64 x86_64 x86_64 GNU/Linux

      I am using fortify plugin in hudson [version 1.363] ,in the global configuration i mentioned the fortify server and auth token parameter and in local job configuration i mentioned other FPR file settings relative to WORKSPACE parameter and when i ran the script, i am getting the below error everytime, full log is pasted below for reference.

      Snapshot of automation scripts output below :

      + '[' 0 -eq 0 ']' + echo 'SCA fpr upload successful' + echo 'Fortify Analysis Completed Successfully' Publishing Fortify 360 FPR Data ERROR: Publisher org.jvnet.hudson.plugins.fortify360.FPRPublisher aborted due to exception java.io.IOException: java.io.IOException: ReportGenerator: not found at java.lang.UNIXProcess.<init>(Unknown Source) at java.lang.ProcessImpl.start(Unknown Source) at java.lang.ProcessBuilder.start(Unknown Source) at org.jvnet.hudson.plugins.fortify360.RemoteService.createXMLReport(RemoteService.java:151) at org.jvnet.hudson.plugins.fortify360.RemoteService.invoke(RemoteService.java:47) at org.jvnet.hudson.plugins.fortify360.RemoteService.invoke(RemoteService.java:17) at hudson.FilePath.act(FilePath.java:753) at hudson.FilePath.act(FilePath.java:735) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:91) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.post2(Build.java:158) at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528) at hudson.model.Run.run(Run.java:1276) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Sending e-mails to: prasoon.majumdar@rsa.com ERROR: Publisher hudson.plugins.build_publisher.BuildPublisher aborted due to exception java.lang.NullPointerException at hudson.plugins.build_publisher.BuildPublisher.getServerName(BuildPublisher.java:211) at hudson.plugins.build_publisher.BuildPublisher.perform(BuildPublisher.java:61) at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36) at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580) at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558) at hudson.model.Build$RunnerImpl.cleanUp(Build.java:167) at hudson.model.Run.run(Run.java:1295) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:127) Finished: FAILURE

      I am seeing the issue in this section :

      Publishing Fortify 360 FPR Data
      ERROR: Publisher org.jvnet.hudson.plugins.fortify360.FPRPublisher aborted due to exception
      java.io.IOException: java.io.IOException: ReportGenerator: not found
      at java.lang.UNIXProcess.<init>(Unknown Source)
      at java.lang.ProcessImpl.start(Unknown Source)
      at java.lang.ProcessBuilder.start(Unknown Source)
      at org.jvnet.hudson.plugins.fortify360.RemoteService.createXMLReport(RemoteService.java:151)
      at org.jvnet.hudson.plugins.fortify360.RemoteService.invoke(RemoteService.java:47)
      at org.jvnet.hudson.plugins.fortify360.RemoteService.invoke(RemoteService.java:17)
      at hudson.FilePath.act(FilePath.java:753)
      at hudson.FilePath.act(FilePath.java:735)
      at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:91)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.post2(Build.java:158)
      at hudson.model.AbstractBuild$AbstractRunner.post(AbstractBuild.java:528)
      at hudson.model.Run.run(Run.java:1276)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:127)
      Sending e-mails to: prasoon.majumdar@rsa.com
      ERROR: Publisher hudson.plugins.build_publisher.BuildPublisher aborted due to exception
      java.lang.NullPointerException
      at hudson.plugins.build_publisher.BuildPublisher.getServerName(BuildPublisher.java:211)
      at hudson.plugins.build_publisher.BuildPublisher.perform(BuildPublisher.java:61)
      at hudson.tasks.BuildStepMonitor$3.perform(BuildStepMonitor.java:36)
      at hudson.model.AbstractBuild$AbstractRunner.perform(AbstractBuild.java:601)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:580)
      at hudson.model.AbstractBuild$AbstractRunner.performAllBuildSteps(AbstractBuild.java:558)
      at hudson.model.Build$RunnerImpl.cleanUp(Build.java:167)
      at hudson.model.Run.run(Run.java:1295)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
      at hudson.model.ResourceController.execute(ResourceController.java:88)
      at hudson.model.Executor.run(Executor.java:127)
      Finished: FAILURE

      Please let me know the status on this and see if its been fixed already, any workaround.

            samngms samngms
            prasoonrsa prasoonrsa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: