• 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

          [JENKINS-29871] NullPointerException after parsing error file

          Ulli Hafner added a comment - - edited

          Seems that the directory storing the build results is not available anymore, or the file is missing. Do you have a cleanup script somewhere? Is it possible that the reference build has been deleted? Are the build results stored on another partition that might be not mounted?

          Ulli Hafner added a comment - - edited Seems that the directory storing the build results is not available anymore, or the file is missing. Do you have a cleanup script somewhere? Is it possible that the reference build has been deleted? Are the build results stored on another partition that might be not mounted?

          Stefan Roth added a comment -

          The build results are stored on a clearcase global dynamic view.
          Is there a option (or something else) to find out more?

          Stefan Roth added a comment - The build results are stored on a clearcase global dynamic view. Is there a option (or something else) to find out more?

          Ulli Hafner added a comment -

          With build results I mean the build folder in your Jenkins installation (JENKINS_HOME/jobs/job-name/builds). Is this folder part of a version control system?

          Ulli Hafner added a comment - With build results I mean the build folder in your Jenkins installation (JENKINS_HOME/jobs/job-name/builds). Is this folder part of a version control system?

          Stefan Roth added a comment -

          No this folder is not part of a version control system.

          Stefan Roth added a comment - No this folder is not part of a version control system.

          Ulli Hafner added a comment -

          I can't reproduce this. If this is a bug then it is located in core.

          Ulli Hafner added a comment - I can't reproduce this. If this is a bug then it is located in core.

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

              Created:
              Updated:
              Resolved: