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

Build step failed with exception java.lang.NullPointerException:

XMLWordPrintable

      Build fails with nullpoint error , do we have fix for this ?
      in next run it will get success

      Publishing Clang scan-build results
      ERROR: Build step failed with exception
      java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "jenkins.plugins.clangscanbuild.history.ClangScanBuildBug.getBugDescription()" is null
      at jenkins.plugins.clangscanbuild.history.ClangScanBuildBugSummary.contains(ClangScanBuildBugSummary.java:37)
      at jenkins.plugins.clangscanbuild.publisher.ClangScanBuildPublisher.createBugFromClangScanBuildHtml(ClangScanBuildPublisher.java:205)
      at jenkins.plugins.clangscanbuild.publisher.ClangScanBuildPublisher.perform(ClangScanBuildPublisher.java:165)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:818)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:767)
      at hudson.model.Build$BuildExecution.post2(Build.java:179)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:711)
      at hudson.model.Run.execute(Run.java:1925)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:44)
      at hudson.model.ResourceController.execute(ResourceController.java:101)
      at hudson.model.Executor.run(Executor.java:442)
      Build step 'Publish Clang Scan-Build Results' marked build as failure

            jkennedy1980 Josh Kennedy
            badamprabhakar prabhakar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: