Jenkins套件测试中的空指针异常

时间:2019-06-14 11:29:05

标签: jenkins nullpointerexception fitnesse

我将Fitnessnesse集成到Jenkins中,当我通过一个简单的测试页时,它被执行了,但是当我在Suite中尝试它时,它没有被执行并报告了此错误,有人可以帮助我吗。

连接到http://[http://srvcldmtxd042]:8085/TrySuite?suite&format=xml&includehtml 从/var/jenkins_home/jobs/Service-Virtualization/jobs/test/workspace/Try.xml中以US-ASCII读取结果 解析结果... 将fitnesse结果写入:/ var / jenkins_home / jobs / Service-Virtualization / jobs / test / builds / 30 / resultsFile:/var/jenkins_home/jobs/Service-Virtualization/jobs/test/workspace/Try.xml 结果:空 java.lang.NullPointerException     在hudson.plugins.fitnesse.FitnesseResults.getFailCount(FitnesseResults.java:135)     在hudson.plugins.fitnesse.FitnesseResults.getBuildResult(FitnesseResults.java:191)     在hudson.plugins.fitnesse.FitnesseResultsRecorder.perform(FitnesseResultsRecorder.java:72)     在hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:81)     在hudson.tasks.BuildStepMonitor $ 3.perform(BuildStepMonitor.java:45)     在hudson.model.AbstractBuild $ AbstractBuildExecution.perform(AbstractBuild.java:736)     在hudson.model.AbstractBuild $ AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:682)     在hudson.model.Build $ BuildExecution.post2(Build.java:186)     在hudson.model.AbstractBuild $ AbstractBuildExecution.post(AbstractBuild.java:627)     在hudson.model.Run.execute(Run.java:1762)     在hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)     在hudson.model.ResourceController.execute(ResourceController.java:97)     在hudson.model.Executor.run(Executor.java:421) 构建步骤“发布Fitnesse结果报告”将构建结果更改为FAILURE 收集元数据... 元数据收集完成。 完成:失败

0 个答案:

没有答案