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

java.lang.NullPointerException when publishing to Jira

XMLWordPrintable

      The test results are not being published to JIRA. I can see that a new cycle was created and the test cases are there but the test status is showing as unexecuted. I can see the Junit XML page was created with the proper results.

       

       

      Total time: 15 hrs 30 mins 36.281 secs
      Recording test results
      [ZapiTestResultReporter] [INFO] Examining test results...
      Build result is SUCCESS
      Total Test Cases : 81ERROR: Build step failed with exception
      java.lang.NullPointerException
      at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.executeTests(TestCaseUtil.java:424)
      at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:564)
      at com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:99)
      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.model.Build$BuildExecution.post2(Build.java:186)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:635)
      at hudson.model.Run.execute(Run.java:1749)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:97)
      at hudson.model.Executor.run(Executor.java:421)
      Build step 'Publish test result to Zephyr for JIRA' marked build as failure
      Finished: FAILURE

            zeedeveloper Zephyr Developer
            samanthafw Samantha Fairwarning
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: