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

NPE while building a job

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • warnings-ng-plugin
    • Jenkins 2.323
      Warning ng 9.10.0

      After updating jenkins and plugins today we encountered following error

      ERROR: Build step failed with exceptionERROR: Build step failed with exceptionjava.lang.NullPointerException at io.jenkins.plugins.analysis.core.model.Tool.getDescriptor(Tool.java:133) at io.jenkins.plugins.analysis.core.model.ReportScanningTool.getDescriptor(ReportScanningTool.java:80) at io.jenkins.plugins.analysis.core.model.AnalysisModelParser.getDescriptor(AnalysisModelParser.java:37) at io.jenkins.plugins.analysis.core.model.AnalysisModelParser.getDescriptor(AnalysisModelParser.java:16) at io.jenkins.plugins.analysis.core.model.Tool.getActualName(Tool.java:106) at io.jenkins.plugins.analysis.core.steps.IssuesScanner.scan(IssuesScanner.java:94) at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.scanWithTool(IssuesRecorder.java:765) at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.record(IssuesRecorder.java:716) at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:697) at io.jenkins.plugins.analysis.core.steps.IssuesRecorder.perform(IssuesRecorder.java:673) at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:812) at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:761) at hudson.model.Build$BuildExecution.post2(Build.java:178) at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:705) at hudson.model.Run.execute(Run.java:1913) at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) at hudson.model.ResourceController.execute(ResourceController.java:99) at hudson.model.Executor.run(Executor.java:432)Build step 'Record compiler warnings and static analysis results' marked build as failure
      

      After downgrading Warnings ng to 9.9.0 it worked again

            drulli Ulli Hafner
            khazr Ben Maes
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: