【问题标题】:java.lang.NullPointerException when Zypher is publishing report to JIRA当 Zypher 向 JIRA 发布报告时出现 java.lang.NullPointerException
【发布时间】:2017-12-07 02:11:01
【问题描述】:

我使用 reportng 格式将报告发布到 Jira,但我看到 nullpointer 异常:

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

你知道为什么吗?或者如何解决?

【问题讨论】:

    标签: jenkins testng reportng jira-zephyr


    【解决方案1】:

    这似乎是Jenkins community 中的一个持续问题。您可以订阅他们的 JIRA 提要以获取更多更新。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-06-06
      相关资源
      最近更新 更多