NPE in Jenkins Plug-in


#1

Hi,
today I upgraded our Integrity Plug-in for Jenkins to the latest version (i.e. 0.10.1). Unfortunately now all builds fail with a NPE:

ERROR: Publisher de.gebit.integrity.IntegrityTestResultRecorder aborted due to exception
java.lang.NullPointerException
at de.gebit.integrity.IntegrityCompoundTestResult.getXmlFile(IntegrityCompoundTestResult.java:121)
at de.gebit.integrity.IntegrityCompoundTestResult.persistChildren(IntegrityCompoundTestResult.java:152)
at de.gebit.integrity.IntegrityCompoundTestResult.writeObject(IntegrityCompoundTestResult.java:187)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at java.io.ObjectStreamClass.invokeWriteObject(Unknown Source)
at java.io.ObjectOutputStream.writeSerialData(Unknown Source)
at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)
at java.io.ObjectOutputStream.writeObject0(Unknown Source)
at java.io.ObjectOutputStream.writeObject(Unknown Source)
at hudson.remoting.UserRequest._serialize(UserRequest.java:155)
at hudson.remoting.UserRequest.serialize(UserRequest.java:164)
at hudson.remoting.UserRequest.perform(UserRequest.java:126)
at hudson.remoting.UserRequest.perform(UserRequest.java:48)
at hudson.remoting.Request$2.run(Request.java:328)
at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:72)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at hudson.remoting.Engine$1$1.run(Engine.java:63)
at java.lang.Thread.run(Unknown Source)

We are using Integrity version 0.13.0.
Are there any known issues using the current Jenkins Plug-in in combination with the older Integrity version?

Thanks in advance,
Malte.


#2

An integrity update to 0.15.4 did not solve the problem.
Does anyone know which Jenkins version is required by the 0.10.1 plug-in (we are running a pretty outdated 1.553)?


#3

Moving back to the Integrity Jenkins plug-in 0.9.4 solves the problem. So it seems to be an issue of the 0.10.1 version (maybe in combination with Jenkins 1.553).

I opened a bug for this issue.