Zypher向JIRA发布报告时的java.lang.NullPointerException

时间:2017-12-07 02:11:01

标签: jenkins testng reportng jira-zephyr

我使用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)     在com.thed.zephyr.jenkins.reporter.ZfjReporter.perform(ZfjReporter.java:99)     在hudson.tasks.BuildStepMonitor $ 1.perform(BuildStepMonitor.java:20)     在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:744)     在hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:690)     在hudson.model.Build $ BuildExecution.post2(Build.java:186)     在hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:635)     在hudson.model.Run.execute(Run.java:1749)     在hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)     在hudson.model.ResourceController.execute(ResourceController.java:97)     在hudson.model.Executor.run(Executor.java:421) 构建步骤'将测试结果发布到Zephyr for JIRA'标记为失败 完成:失败

1 个答案:

答案 0 :(得分:1)

这似乎是Jenkins community中的一个持续问题。您可以订阅他们的JIRA Feed以获得进一步的更新。