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

ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • maven-info-plugin
    • None
    • Jenkins: 2.150.3
      JRE: OpenJDK 1.8.0_212
      Linux: 3.10.0-957.12.1.el7.x86_64 #1 SMP Wed Mar 20 11:34:37 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

      ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (
      https://jenkins.io/redirect/report-an-issue
      ).
      java.lang.NullPointerException
      at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42)
      at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
      at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:908)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1810)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      project=hudson.maven.MavenModuleSet@4d4a6172[Mobile-Android-Perfecto-Regression-Tests]
      project.getModules()=[hudson.maven.MavenModule@54c0b0c9[Mobile-Android-Perfecto-Regression-Tests/choicehotels.mobile:choice-mobile-android][Mobile-Android-Perfecto-Regression-Tests/choicehotels.mobile:choice-mobile-android][relativePath:]]
      project.getRootModule()=hudson.maven.MavenModule@54c0b0c9[Mobile-Android-Perfecto-Regression-Tests/choicehotels.mobile:choice-mobile-android][Mobile-Android-Perfecto-Regression-Tests/choicehotels.mobile:choice-mobile-android][relativePath:]
      FATAL: null
      java.lang.NullPointerException
      at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42)
      at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
      at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:908)
      at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
      at hudson.model.Run.execute(Run.java:1810)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      ERROR: Step ‘Archive the artifacts’ failed: no workspace for Mobile-Android-Perfecto-Regression-Tests #946
      [htmlpublisher] Archiving HTML reports...
      ERROR: Build step failed with exception
      java.lang.NullPointerException
      at htmlpublisher.HtmlPublisher.publishReports(HtmlPublisher.java:226)
      at htmlpublisher.HtmlPublisher.perform(HtmlPublisher.java:193)
      at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
      at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:744)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)
      at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.post2(MavenModuleSetBuild.java:1073)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1835)
      at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:429)
      Build step 'Publish HTML reports' marked build as failure
      ERROR: Step ‘Publish TestNG Results’ failed: no workspace for Mobile-Android-Perfecto-Regression-Tests #946

          [JENKINS-58007] ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker

          Adam Batenin added a comment - - edited

          The same issue experienced with Jenkins 2.164

          [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (jacoco-site) @ erisk-forward-curve-client ---
          ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https://jenkins.io/redirect/report-an-issue).
          java.lang.NullPointerException
          	at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42)
          	at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
          	at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
          	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:908)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
          	at hudson.model.Run.execute(Run.java:1816)
          	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
          	at hudson.model.ResourceController.execute(ResourceController.java:97)
          	at hudson.model.Executor.run(Executor.java:429)
          project=hudson.maven.MavenModuleSet@3311866a[xxxxx]
          project.getModules()=[hudson.maven.MavenModule@10da7a65[xxxxxxxx][relativePath:]]
          project.getRootModule()=hudson.maven.MavenModule@10da7a65[xxxxxxx][relativePath:]
          FATAL: null
          java.lang.NullPointerException
          	at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42)
          	at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58)
          	at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42)
          	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:908)
          	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
          	at hudson.model.Run.execute(Run.java:1816)
          	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543)
          	at hudson.model.ResourceController.execute(ResourceController.java:97)
          	at hudson.model.Executor.run(Executor.java:429)
          

          System: Linux 3.10.0-1127.el7.x86_64 x86_64 x86_64 x86_64 GNU/Linux

           

          Adam Batenin added a comment - - edited The same issue experienced with Jenkins 2.164 [INFO] --- jacoco-maven-plugin:0.7.5.201505241946:report (jacoco-site) @ erisk-forward-curve-client --- ERROR: Processing failed due to a bug in the code. Please report this to the issue tracker (https: //jenkins.io/redirect/report-an-issue). java.lang.NullPointerException at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42) at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58) at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:908) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1816) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) project=hudson.maven.MavenModuleSet@3311866a[xxxxx] project.getModules()=[hudson.maven.MavenModule@10da7a65[xxxxxxxx][relativePath:]] project.getRootModule()=hudson.maven.MavenModule@10da7a65[xxxxxxx][relativePath:] FATAL: null java.lang.NullPointerException at jenkins.plugins.maveninfo.extractor.properties.PomPropertiesFinder.findProperties(PomPropertiesFinder.java:42) at jenkins.plugins.maveninfo.extractor.MavenInfoExtractor.extract(MavenInfoExtractor.java:58) at jenkins.plugins.maveninfo.extractor.MavenInfoEnvironment.tearDown(MavenInfoEnvironment.java:42) at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:908) at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504) at hudson.model.Run.execute(Run.java:1816) at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:543) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) System: Linux 3.10.0-1127.el7.x86_64 x86_64 x86_64 x86_64 GNU/Linux  

          Raihaan Shouhell added a comment - Reassigning this to the appropriate area this is likely because build.getWorkspace() can be null https://github.com/jenkinsci/maven-info-plugin/blob/e987ab3f703b606df824a9896c85b73ef528a428/src/main/java/jenkins/plugins/maveninfo/extractor/properties/PomPropertiesFinder.java#L42

            Unassigned Unassigned
            michael_giroux michael giroux
            Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: