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

java.lang.NullPointerException when publish result to JIRA cloud

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Zephyr for jira test management plugin: 1.4
      Jenkins: 2.46.2
      JIRA Cloud: JIRA v1000.910.0
      Zephyr: Zephyr for JIRA Cloud2.1.3-final
      ZAPI: 1.0.2-AC

      We want to publish test result from Jenkins to JIRA cloud. I tried Zephyr for JIRA test management plugin on a JIRA server test instance, everything worked. But I got following error when posting result to JIRA cloud product instance. 

      [ZapiTestResultReporter] [INFO] Examining test results...
      Build result is SUCCESS
      Total Test Cases : 3ERROR: Build step failed with exception
      java.lang.NullPointerException
      at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.executeTestsZFJC(TestCaseUtil.java:1066)
      at com.thed.zephyr.jenkins.utils.rest.TestCaseUtil.processTestCaseDetails(TestCaseUtil.java:604)
      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:779)
      at hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:720)
      at hudson.model.Build$BuildExecution.post2(Build.java:185)
      at hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:665)
      at hudson.model.Run.execute(Run.java:1766)
      at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
      at hudson.model.ResourceController.execute(ResourceController.java:98)
      at hudson.model.Executor.run(Executor.java:410)
      Build step 'Publish test result to Zephyr for JIRA' marked build as failure
      Warning: this build has no associated authentication, so build permissions may be lacking, and downstream projects which cannot even be seen by an anonymous user will be silently skipped
      Finished: FAILURE

       

            zeedeveloper Zephyr Developer
            jxzrobert Robert Jiang
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: