java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • The help text of "Fortify 360 Server Project Id" described: {code} ... Leaving this field to blank will disable the upload... {code} However, if we enabled the Fortify FPR Publisher (for its wonderful NVS plotting and UNSTABLE checking), fortify360 plugin still shows following stack trace: {code} Uploading FPR to Fortify 360 Server at #################################################################### FortifyClientClassLoader: JarsPath = null Error uploading to F360 Server: java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.getInstance(FortifyClientClassLoader.java:79) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:263) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code} Can we skip the whole operation? I checked out the source code, and found: {code:java} // if the project ID is not null, then we need to upload the FPR to 360 server if ( null != f360projId && DESCRIPTOR.canUploadToF360() ) { ... } {code} But every time I enable Fortify FPR Publisher from Jenkins job configuration page, the Project Id will be set to 0!
    via by Pei-Tang Huang,
  • The help text of "Fortify 360 Server Project Id" described: {code} ... Leaving this field to blank will disable the upload... {code} However, if we enabled the Fortify FPR Publisher (for its wonderful NVS plotting and UNSTABLE checking), fortify360 plugin still shows following stack trace: {code} Uploading FPR to Fortify 360 Server at #################################################################### FortifyClientClassLoader: JarsPath = null Error uploading to F360 Server: java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.getInstance(FortifyClientClassLoader.java:79) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:263) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236) {code} Can we skip the whole operation? I checked out the source code, and found: {code:java} // if the project ID is not null, then we need to upload the FPR to 360 server if ( null != f360projId && DESCRIPTOR.canUploadToF360() ) { ... } {code} But every time I enable Fortify FPR Publisher from Jenkins job configuration page, the Project Id will be set to 0!
    via by Pei-Tang Huang,
  • Unknown Error
    via GitHub by Gitweazle
    ,
  • Can't enter/create maps
    via GitHub by Whainte
    ,
  • CStub Import Crash
    via GitHub by danielstieger
    ,
    • java.lang.NullPointerException at java.io.File.<init>(Unknown Source) at org.jvnet.hudson.plugins.fortify360.FortifyClientClassLoader.getInstance(FortifyClientClassLoader.java:79) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.invokeFortifyClient(FPRPublisher.java:263) at org.jvnet.hudson.plugins.fortify360.FPRPublisher.perform(FPRPublisher.java:178) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:807) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:782) at hudson.model.Build$BuildExecution.post2(Build.java:183) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:729) at hudson.model.Run.execute(Run.java:1541) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46) at hudson.model.ResourceController.execute(ResourceController.java:88) at hudson.model.Executor.run(Executor.java:236)

    Users with the same issue

    AxeloAxelo
    6 times, last one,
    AravindAravind
    2 times, last one,
    jf-astjf-ast
    8 times, last one,
    DunmerDunmer
    1 times, last one,
    linxiaolonglinxiaolong
    6 times, last one,
    33 more bugmates