获取java.lang.NullPointerException后构建失败:jenkins中的类型部分是必需的错误

时间:2014-09-11 00:40:19

标签: jenkins jenkins-plugins

       jenkins version  1.573

我在构建说出以下错误后出现以下错误

\WidgetEntityTest::testCrudExercises_bundletemplatewidgets
     [exec] 1..278
     [exec] 
     [exec] Generating code coverage report in Clover XML format ... done
     [exec] 
     [exec] Generating code coverage report in HTML format ... done

BUILD SUCCESSFUL
Total time: 30 minutes 19 seconds
Terminating xvnc.
$ vncserver -kill :42
Killing Xvnc process ID 20680
FATAL: The types section is required.
java.lang.NullPointerException: The types section is required.
        at org.jenkinsci.plugins.xunit.XUnitProcessor.<init>(XUnitProcessor.java:41)
        at org.jenkinsci.plugins.xunit.XUnitBuilder.perform(XUnitBuilder.java:76)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:772)
        at hudson.model.Build$BuildExecution.build(Build.java:199)
        at hudson.model.Build$BuildExecution.doRun(Build.java:160)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:535)
        at hudson.model.Run.execute(Run.java:1732)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:234)

我已经升级到jenkins 1.573并且我怀疑这是问题,因为更改日志中没有代码更改。 我完全糊涂了天气这是Xvnc插件或jenkins版本本身的问题。在过去使用jenkins.please帮助我有四个构建失败并且现在有相同的错误。

1 个答案:

答案 0 :(得分:0)

尝试卸载Xvnc插件。如果它解决了问题,你得到答案:)