com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.scm.SubversionSCM$SvnInfo.root

Jenkins JIRA | Dmitry Maslakov | 6 years ago
  1. 0

    I've updated plugins and after restart Hudson (ver. 1.394) fails to start up. Log file contains (sorry, I've lost the log and here only what left in my clipboard): Jan 25, 2011 10:28:45 AM hudson.util.RobustReflectionConverter doUnmarshal WARNING: Skipping a non-existent field root com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.scm.SubversionSCM$SvnInfo.root at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:106) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:152) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:356) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:75) at com.thoughtworks.xstream.converters.collections.TreeMapConverter.unmarshal(TreeMapConverter.java:80) at hudson.util.CopyOnWriteMap$Tree$ConverterImpl.unmarshal(CopyOnWriteMap.java:221) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) ... at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Queue.load(Queue.java:286) ... Failed to load the queue file /home/buildbot/.hudson/queue.xml As I understand the deserialization failed because of changed/missed field in plugin data. All suggestions what to do say to discard unreadable data, but in my case Hudson did not started. To workaround the problem I've removed /home/buildbot/.hudson/queue.xml, then Huston started and I was able to discard unreadable data.

    Jenkins JIRA | 6 years ago | Dmitry Maslakov
    com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.scm.SubversionSCM$SvnInfo.root
  2. 0

    I've updated plugins and after restart Hudson (ver. 1.394) fails to start up. Log file contains (sorry, I've lost the log and here only what left in my clipboard): Jan 25, 2011 10:28:45 AM hudson.util.RobustReflectionConverter doUnmarshal WARNING: Skipping a non-existent field root com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.scm.SubversionSCM$SvnInfo.root at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:106) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:152) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:356) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71) at com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:75) at com.thoughtworks.xstream.converters.collections.TreeMapConverter.unmarshal(TreeMapConverter.java:80) at hudson.util.CopyOnWriteMap$Tree$ConverterImpl.unmarshal(CopyOnWriteMap.java:221) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290) ... at hudson.XmlFile.read(XmlFile.java:130) at hudson.model.Queue.load(Queue.java:286) ... Failed to load the queue file /home/buildbot/.hudson/queue.xml As I understand the deserialization failed because of changed/missed field in plugin data. All suggestions what to do say to discard unreadable data, but in my case Hudson did not started. To workaround the problem I've removed /home/buildbot/.hudson/queue.xml, then Huston started and I was able to discard unreadable data.

    Jenkins JIRA | 6 years ago | Dmitry Maslakov
    com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.scm.SubversionSCM$SvnInfo.root
  3. 0

    revision disappeared in ear artifact

    Stack Overflow | 5 years ago | Kamilski81
    com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.scm.SubversionSCM$DescriptorImpl.revPropSupport
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    email -ext plugin: startup warnings after cleaning up

    Google Groups | 5 years ago | Matthew...@diamond.ac.uk
    com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.plugins.emailext.ExtendedEmailPublisherDescriptor.recipientList
  6. 0

    After the latest Jenkins upgrade, we see showers of exceptions coming from the promoted builds plugin in our logs: {code} Jul 1, 2011 6:06:06 AM hudson.util.RobustReflectionConverter doUnmarshal WARNING: Skipping a non-existent field targetBuildNumber com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.plugins.promoted_builds.Promotion.targetBuildNumber at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:106) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:152) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:356) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:84) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) at hudson.model.Run.reload(Run.java:282) at hudson.model.Run.<init>(Run.java:271) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:159) at hudson.plugins.promoted_builds.Promotion.<init>(Promotion.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:938) at hudson.model.AbstractProject$1.create(AbstractProject.java:256) at hudson.model.AbstractProject$1.create(AbstractProject.java:254) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:254) at hudson.model.Items.load(Items.java:115) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:147) at hudson.plugins.promoted_builds.JobPropertyImpl.setOwner(JobPropertyImpl.java:47) at hudson.model.Job.onLoad(Job.java:185) at hudson.model.AbstractProject.onLoad(AbstractProject.java:251) at hudson.model.Project.onLoad(Project.java:88) at hudson.model.Items.load(Items.java:115) at jenkins.model.Jenkins$14.run(Jenkins.java:2180) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:146) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:259) at jenkins.model.Jenkins$5.runTask(Jenkins.java:724) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:187) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:94) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) {code} ... {code} Jul 1, 2011 10:26:12 PM hudson.util.RobustReflectionConverter doUnmarshal WARNING: Skipping a non-existent field targetBuildNumber com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.plugins.promoted_builds.Promotion.targetBuildNumber at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:106) at com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:152) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:356) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:926) at hudson.util.XStream2.unmarshal(XStream2.java:84) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:912) at hudson.XmlFile.unmarshal(XmlFile.java:148) at hudson.model.Run.reload(Run.java:282) at hudson.model.Run.<init>(Run.java:271) at hudson.model.AbstractBuild.<init>(AbstractBuild.java:159) at hudson.plugins.promoted_builds.Promotion.<init>(Promotion.java:41) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) at java.lang.reflect.Constructor.newInstance(Unknown Source) at hudson.model.AbstractProject.loadBuild(AbstractProject.java:938) at hudson.model.AbstractProject$1.create(AbstractProject.java:256) at hudson.model.AbstractProject$1.create(AbstractProject.java:254) at hudson.model.RunMap.load(RunMap.java:221) at hudson.model.AbstractProject.onLoad(AbstractProject.java:254) at hudson.model.Items.load(Items.java:115) at hudson.plugins.promoted_builds.JobPropertyImpl.<init>(JobPropertyImpl.java:99) at hudson.plugins.promoted_builds.JobPropertyImpl.<init>(JobPropertyImpl.java:47) at hudson.plugins.promoted_builds.JobPropertyImpl$DescriptorImpl.newInstance(JobPropertyImpl.java:299) at hudson.plugins.promoted_builds.JobPropertyImpl$DescriptorImpl.newInstance(JobPropertyImpl.java:284) at hudson.model.JobProperty.reconfigure(JobProperty.java:177) at hudson.model.JobProperty.reconfigure(JobProperty.java:75) at hudson.util.DescribableList.rebuild(DescribableList.java:153) at hudson.model.Job.doConfigSubmit(Job.java:962) at hudson.model.AbstractProject.doConfigSubmit(AbstractProject.java:634) 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 org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:282) at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:149) at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:88) at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:103) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.MetaClass$6.doDispatch(MetaClass.java:233) at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:53) at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:561) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:646) at org.kohsuke.stapler.Stapler.invoke(Stapler.java:477) at org.kohsuke.stapler.Stapler.service(Stapler.java:159) at javax.servlet.http.HttpServlet.service(HttpServlet.java:45) at winstone.ServletConfiguration.execute(ServletConfiguration.java:249) at winstone.RequestDispatcher.forward(RequestDispatcher.java:335) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:378) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:94) at hudson.plugins.audit_trail.AuditTrailFilter.doFilter(AuditTrailFilter.java:65) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.greenballs.GreenBallFilter.doFilter(GreenBallFilter.java:52) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:157) at net.bull.javamelody.MonitoringFilter.doFilter(MonitoringFilter.java:131) at net.bull.javamelody.PluginMonitoringFilter.doFilter(PluginMonitoringFilter.java:82) at org.jvnet.hudson.plugins.monitoring.HudsonMonitoringFilter.doFilter(HudsonMonitoringFilter.java:84) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.plugins.collabnet.auth.CNFilter.doFilter(CNFilter.java:90) at hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:97) at hudson.util.PluginServletFilter.doFilter(PluginServletFilter.java:86) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.csrf.CrumbFilter.doFilter(CrumbFilter.java:47) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:84) at hudson.security.UnwrapSecurityExceptionFilter.doFilter(UnwrapSecurityExceptionFilter.java:51) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:166) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:271) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.ui.basicauth.BasicProcessingFilter.doFilter(BasicProcessingFilter.java:173) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:249) at hudson.security.HttpSessionContextIntegrationFilter2.doFilter(HttpSessionContextIntegrationFilter2.java:66) at hudson.security.ChainedServletFilter$1.doFilter(ChainedServletFilter.java:87) at hudson.security.ChainedServletFilter.doFilter(ChainedServletFilter.java:76) at hudson.security.HudsonFilter.doFilter(HudsonFilter.java:164) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at hudson.util.CharacterEncodingFilter.doFilter(CharacterEncodingFilter.java:81) at winstone.FilterConfiguration.execute(FilterConfiguration.java:195) at winstone.RequestDispatcher.doFilter(RequestDispatcher.java:368) at winstone.RequestDispatcher.forward(RequestDispatcher.java:333) at winstone.RequestHandlerThread.processRequest(RequestHandlerThread.java:244) at winstone.RequestHandlerThread.run(RequestHandlerThread.java:150) at java.lang.Thread.run(Unknown Source) {code} ... Also, the promotion process has not been working for two of our jobs for some time now. When we look at the promotion status, everything seems fine and all qualifications are met but it only says "This promotion has not happened.", which is weird because we have another job where the promotions are just working fine. I tried to check the logs to find a clue to what the problem is but I only find the above exceptions.

    Jenkins JIRA | 5 years ago | Angela Johansson
    com.thoughtworks.xstream.converters.reflection.NonExistentFieldException: No such field hudson.plugins.promoted_builds.Promotion.targetBuildNumber

    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. com.thoughtworks.xstream.converters.reflection.NonExistentFieldException

      No such field hudson.scm.SubversionSCM$SvnInfo.root

      at com.thoughtworks.xstream.converters.reflection.FieldDictionary.field()
    2. XStream Core
      PureJavaReflectionProvider.getFieldType
      1. com.thoughtworks.xstream.converters.reflection.FieldDictionary.field(FieldDictionary.java:106)
      2. com.thoughtworks.xstream.converters.reflection.PureJavaReflectionProvider.getFieldType(PureJavaReflectionProvider.java:152)
      2 frames
    3. Hudson
      RobustReflectionConverter.unmarshal
      1. hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:356)
      2. hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:229)
      3. hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:180)
      3 frames
    4. XStream Core
      TreeMapConverter.unmarshal
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      5. com.thoughtworks.xstream.converters.collections.AbstractCollectionConverter.readItem(AbstractCollectionConverter.java:71)
      6. com.thoughtworks.xstream.converters.collections.MapConverter.populateMap(MapConverter.java:75)
      7. com.thoughtworks.xstream.converters.collections.TreeMapConverter.unmarshal(TreeMapConverter.java:80)
      7 frames
    5. Hudson
      CopyOnWriteMap$Tree$ConverterImpl.unmarshal
      1. hudson.util.CopyOnWriteMap$Tree$ConverterImpl.unmarshal(CopyOnWriteMap.java:221)
      1 frame
    6. XStream Core
      TreeUnmarshaller.convertAnother
      1. com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
      2. com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
      3. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      4 frames
    7. Hudson
      RobustReflectionConverter.unmarshalField
      1. hudson.util.RobustReflectionConverter.unmarshalField(RobustReflectionConverter.java:290)
      1 frame