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

NullPointerException after parsing error file

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • analysis-core-plugin
    • None
    • Jenkins core 1.609.2
      analysis core 1.72
      analysis collector 1.43

      After some time I always got this error message for all my jobs. But this is not directly after creating a job.
      There is enough space left on the device.

      [WARNINGS] Parsing warnings in files 'out\compiler_error.err' with parser GNU Make + GNU C Compiler (gcc)
      [WARNINGS] Finding all files that match the pattern out\compiler_error.err
      [WARNINGS] Parsing 1 file in X:\TEST_JOB\Image
      [WARNINGS] Successfully parsed file X:\TEST_JOB\Image\out\compiler_error.err with 46 unique warnings and 0 duplicates.
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at hudson.model.Run.getRootDir(Run.java:1013)
      at hudson.plugins.analysis.core.BuildResult.getDataFile(BuildResult.java:515)
      at hudson.plugins.analysis.core.BuildResult.loadResult(BuildResult.java:946)
      at hudson.plugins.analysis.core.BuildResult.getProject(BuildResult.java:926)
      at hudson.plugins.analysis.core.BuildResult.getContainer(BuildResult.java:1125)
      at hudson.plugins.analysis.core.BuildHistory.getReferenceAnnotations(BuildHistory.java:104)
      at hudson.plugins.analysis.core.BuildResult.initialize(BuildResult.java:274)
      at hudson.plugins.analysis.core.BuildResult.<init>(BuildResult.java:218)
      at hudson.plugins.warnings.WarningsResult.<init>(WarningsResult.java:53)
      at hudson.plugins.warnings.WarningsResult.<init>(WarningsResult.java:47)
      at hudson.plugins.warnings.WarningsPublisher.annotate(WarningsPublisher.java:460)
      at hudson.plugins.warnings.WarningsPublisher.parseFiles(WarningsPublisher.java:430)
      at hudson.plugins.warnings.WarningsPublisher.perform(WarningsPublisher.java:323)
      at hudson.plugins.analysis.core.HealthAwarePublisher.perform(HealthAwarePublisher.java:152)
      at hudson.plugins.analysis.core.HealthAwareRecorder.perform(HealthAwareRecorder.java:349)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:776)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:723)
      at hudson.model.Build$BuildExecution.post2(Build.java:183)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:670)
      at hudson.model.Run.execute(Run.java:1763)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:381)
      Build step 'Suche nach Compiler Warnungen' marked build as failure

            drulli Ulli Hafner
            roth_stefan Stefan Roth
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: