Build failed after receiving java.lang.NullPointerException: type section requires error in jenkins

jenkins version 1.573 

I get the following error after assembly saying the following error

 \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) 

I dodged jenkins 1.573 and I suspect this is a problem since there are no code changes in the changes. I am completely confused by the weather, this is a problem with the Xvnc plugin or the jenkins version itself. Never had a null pointer problem in the past with jenkins.please. I had four builds with an error with the same error.

+6
source share
1 answer

Try removing the Xvnc plugin. If it solves the problem, you have the answer :)

0
source

Source: https://habr.com/ru/post/975099/


All Articles