java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl

Jenkins JIRA | Andres Rodriguez | 5 months ago
  1. 0

    [JIRA] (JENKINS-36845) ConcurrentModificationException when using Xvnc plugin on Pipeline

    Google Groups | 5 months ago | arodr...@cloudbees.com (JIRA)
    java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl
  2. 0

    Several pipeline jobs using this plugin fail in a non-deterministic way with: {noformat} java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:178) at hudson.model.Descriptor.save(Descriptor.java:855) at hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32) at hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104) at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94) at org.jenkinsci.plugins.workflow.steps.CoreWrapperStep$Execution.start(CoreWrapperStep.java:74) at org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:138) at org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113) at groovy.lang.GroovyObject$invokeMethod$10.call(Unknown Source) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108) at org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151) at org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21) [....] Caused by: java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429) at java.util.HashMap$EntryIterator.next(HashMap.java:1463) at java.util.HashMap$EntryIterator.next(HashMap.java:1461) at com.thoughtworks.xstream.converters.collections.MapConverter.marshal(MapConverter.java:75) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller$1.convertAnother(AbstractReferenceMarshaller.java:84) at hudson.util.RobustReflectionConverter.marshallField(RobustReflectionConverter.java:224) at hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:211) at hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138) at hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168) at hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109) at com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58) at com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43) at com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1026) at com.thoughtworks.xstream.XStream.marshal(XStream.java:1015) at com.thoughtworks.xstream.XStream.toXML(XStream.java:988) at hudson.XmlFile.write(XmlFile.java:178) at hudson.model.Descriptor.save(Descriptor.java:855) at hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32) at hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51) at hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104) at hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94) at org.jenkinsci.plugins.workflow.steps.CoreWrapperStep$Execution.start(CoreWrapperStep.java:74) [...] {noformat}

    Jenkins JIRA | 5 months ago | Andres Rodriguez
    java.lang.RuntimeException: Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl
  3. 0

    [JIRA] [core] (JENKINS-32509) javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.slaves.DumbSlave from

    Google Groups | 11 months ago | titan...@gmail.com (JIRA)
    javax.servlet.ServletException: java.lang.RuntimeException: Failed to instantiate class hudson.slaves.DumbSlave from {"name":"cent72-pA04","nodeDescription":"CentOS 7.2 Production Test Type A no.4 | 192.168.116.182","numExecutors":"1","remoteFS":"/usr/local/hudson","labelString":"newbatch 8GB CENT72 lebanon lin64 NP6 OS_CENT72 parallelTest test valgrind-3.10.0 zip3.0 pants","mode":"NORMAL","":["hudson.plugins.sshslaves.SSHLauncher","hudson.slaves.RetentionStrategy$Demand"],"launcher":{"stapler-class":"hudson.plugins.sshslaves.SSHLauncher","$class":"hudson.plugins.sshslaves.SSHLauncher","host":"cent72-pA04","credentialsId":"96fa62e4-aaa1-4032-9658-a60d99bed9e9","port":"22","javaPath":"","jvmOptions":"","prefixStartSlaveCmd":"","suffixStartSlaveCmd":"","launchTimeoutSeconds":"","maxNumRetries":"0","retryWaitTime":"0"},"retentionStrategy":{"stapler-class":"hudson.slaves.RetentionStrategy$Demand","$class":"hudson.slaves.RetentionStrategy$Demand","inDemandDelay":"1","idleDelay":"10"},"nodeProperties":{"stapler-class-bag":"true"}}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JIRA] (JENKINS-38122) Intermittent error when using withMaven

    Google Groups | 3 months ago | dan...@jasek.org (JIRA)
    java.lang.RuntimeException: Failed to serialize org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag#actions for class org.jenkinsci.plugins.workflow.support.storage.SimpleXStreamFlowNodeStorage$Tag
  6. 0

    [JIRA] [build-name-setter-plugin] (JENKINS-33527) Intermittent exception thrown when using plugin

    Google Groups | 9 months ago | ddu...@gmail.com (JIRA)
    java.lang.RuntimeException: Failed to serialize hudson.model.Actionable#actions for class hudson.model.FreeStyleBuild<br />

  1. davidvanlaatum 2 times, last 6 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.RuntimeException

    Failed to serialize hudson.plugins.xvnc.Xvnc$DescriptorImpl#allocators for class hudson.plugins.xvnc.Xvnc$DescriptorImpl

    at hudson.util.RobustReflectionConverter$2.writeField()
  2. Hudson
    RobustReflectionConverter$2.visit
    1. hudson.util.RobustReflectionConverter$2.writeField(RobustReflectionConverter.java:215)
    2. hudson.util.RobustReflectionConverter$2.visit(RobustReflectionConverter.java:183)
    2 frames
  3. XStream Core
    PureJavaReflectionProvider.visitSerializableFields
    1. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.visitSerializableFields(PureJavaReflectionProvider.java:138)
    1 frame
  4. Hudson
    RobustReflectionConverter.marshal
    1. hudson.util.RobustReflectionConverter.doMarshal(RobustReflectionConverter.java:168)
    2. hudson.util.RobustReflectionConverter.marshal(RobustReflectionConverter.java:109)
    2 frames
  5. XStream Core
    XStream.toXML
    1. com.thoughtworks.xstream.core.AbstractReferenceMarshaller.convert(AbstractReferenceMarshaller.java:69)
    2. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:58)
    3. com.thoughtworks.xstream.core.TreeMarshaller.convertAnother(TreeMarshaller.java:43)
    4. com.thoughtworks.xstream.core.TreeMarshaller.start(TreeMarshaller.java:82)
    5. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.marshal(AbstractTreeMarshallingStrategy.java:37)
    6. com.thoughtworks.xstream.XStream.marshal(XStream.java:1026)
    7. com.thoughtworks.xstream.XStream.marshal(XStream.java:1015)
    8. com.thoughtworks.xstream.XStream.toXML(XStream.java:988)
    8 frames
  6. Hudson
    Descriptor.save
    1. hudson.XmlFile.write(XmlFile.java:178)
    2. hudson.model.Descriptor.save(Descriptor.java:855)
    2 frames
  7. hudson.plugins.xvnc
    Xvnc.setUp
    1. hudson.plugins.xvnc.DisplayAllocator.save(DisplayAllocator.java:32)
    2. hudson.plugins.xvnc.DisplayAllocator.allocate(DisplayAllocator.java:51)
    3. hudson.plugins.xvnc.Xvnc.doSetUp(Xvnc.java:104)
    4. hudson.plugins.xvnc.Xvnc.setUp(Xvnc.java:94)
    4 frames
  8. org.jenkinsci.plugins
    CpsScript.invokeMethod
    1. org.jenkinsci.plugins.workflow.steps.CoreWrapperStep$Execution.start(CoreWrapperStep.java:74)
    2. org.jenkinsci.plugins.workflow.cps.DSL.invokeMethod(DSL.java:138)
    3. org.jenkinsci.plugins.workflow.cps.CpsScript.invokeMethod(CpsScript.java:113)
    3 frames
  9. Groovy
    AbstractCallSite.call
    1. groovy.lang.GroovyObject$invokeMethod$10.call(Unknown Source)
    2. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:42)
    3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:108)
    3 frames
  10. org.kohsuke.groovy
    GroovyInterceptor.onMethodCall
    1. org.kohsuke.groovy.sandbox.impl.Checker$1.call(Checker.java:151)
    2. org.kohsuke.groovy.sandbox.GroovyInterceptor.onMethodCall(GroovyInterceptor.java:21)
    2 frames