Hello,

Recently, I've been seeing a "java.lang.IllegalStateException: Invalid object 
ID" error at the end of one of my builds.
I think the error occurs while the NUnit plugin is parsing the *.xml

Others have seen this error and there is a problem ticket for it (
https://issues.jenkins-ci.org/browse/JENKINS-23271 );
The ticket has not been resolved and none of the examples associated with the 
problem ticket reference NUnit. 

Here is a part of my console output that shows the stack trace:

Recording NUnit tests resultsERROR: Publisher 
hudson.plugins.nunit.NUnitPublisher aborted due to 
exceptionjava.lang.IllegalStateException 
<http://stacktrace.jenkins-ci.org/search?query=java.lang.IllegalStateException>:
 Invalid object ID 51 iota=196        at 
hudson.remoting.ExportTable.diagnoseInvalidId(ExportTable.java:348) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ExportTable.diagnoseInvalidId&entity=method>
     at hudson.remoting.ExportTable.get(ExportTable.java:324) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.ExportTable.get&entity=method>
 at hudson.remoting.Channel.getExportedObject(Channel.java:604) 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.Channel.getExportedObject&entity=method>
 at 
hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader(MultiClassLoaderSerializer.java:95)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.MultiClassLoaderSerializer$Input.readClassLoader&entity=method>
 at 
hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass(MultiClassLoaderSerializer.java:112)
 
<http://stacktrace.jenkins-ci.org/search/?query=hudson.remoting.MultiClassLoaderSerializer$Input.resolveClass&entity=method>
      at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)   at 
java.io.ObjectInputStream.readClassDesc(Unknown Source)      at 
java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at 
java.io.ObjectInputStream.readObject0(Unknown Source)        at 
java.io.ObjectInputStream.readObject(Unknown Source) at 
hudson.remoting.UserRequest.deserialize(UserRequest.java:185)        at 
hudson.remoting.UserResponse.retrieve(UserRequest.java:218)  at 
hudson.remoting.Channel.call(Channel.java:752)       at 
hudson.FilePath.act(FilePath.java:969)       at 
hudson.FilePath.act(FilePath.java:958)       at 
hudson.plugins.nunit.NUnitPublisher.getTestResult(NUnitPublisher.java:226)   at 
hudson.plugins.nunit.NUnitPublisher.recordTestResult(NUnitPublisher.java:189)   
     at hudson.plugins.nunit.NUnitPublisher.perform(NUnitPublisher.java:152) at 
hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)    at 
hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:770)
    at 
hudson.model.AbstractBuild$AbstractBuildExecution.performAllBuildSteps(AbstractBuild.java:734)
       at hudson.model.Build$BuildExecution.post2(Build.java:183)      at 
hudson.model.AbstractBuild$AbstractBuildExecution.post(AbstractBuild.java:683)  
     at hudson.model.Run.execute(Run.java:1770)      at 
hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)      at 
hudson.model.ResourceController.execute(ResourceController.java:89)  at 
hudson.model.Executor.run(Executor.java:240)Caused by: java.lang.Exception: 
Object was recently deallocated    #51 (ref.0) : 
[hudson.remoting.RemoteClassLoader$IClassLoader]      Created at Thu Oct 08 
13:04:17 EDT 2015
<snip>

I'm running Jenkins 1.580.1 
NUnit plugin version 0.17

Does anyone have a solution or a suggestion for dealing with this problem?

Thanks in advance.

Steve K.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/09536d00-88dd-4087-a4fe-a7e1a7a829f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to