com.thoughtworks.xstream.mapper.CannotResolveClassException: com.cloudbees.plugins.flow.BuildFlow

Jenkins JIRA | Jesse Glick | 3 years ago
  1. 0

    A user who had previously had the Build Flow plugin installed, and created some flows in a folder, then turned the plugin off. After a restart, the whole folder failed to load: {code:none} com.thoughtworks.xstream.mapper.CannotResolveClassException: com.cloudbees.plugins.flow.BuildFlow at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:56) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:256) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:49) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:109) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:925) at hudson.XmlFile.read(XmlFile.java:143) at hudson.model.Items.load(Items.java:220) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:240) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$18.run(Jenkins.java:2577) {code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    com.thoughtworks.xstream.mapper.CannotResolveClassException: com.cloudbees.plugins.flow.BuildFlow
  2. 0

    [JENKINS-20951] CannotResolveClassException breaks loading of entire containing folder, not just one job - Jenkins JIRA

    jenkins-ci.org | 8 months ago
    com.thoughtworks.xstream.mapper.CannotResolveClassException: com.cloudbees.plugins.flow.BuildFlow
  3. 0

    A user who had previously had the Build Flow plugin installed, and created some flows in a folder, then turned the plugin off. After a restart, the whole folder failed to load: {code:none} com.thoughtworks.xstream.mapper.CannotResolveClassException: com.cloudbees.plugins.flow.BuildFlow at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:56) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:256) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43) at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:49) at com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061) at hudson.util.XStream2.unmarshal(XStream2.java:109) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045) at com.thoughtworks.xstream.XStream.fromXML(XStream.java:925) at hudson.XmlFile.read(XmlFile.java:143) at hudson.model.Items.load(Items.java:220) at hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99) at com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:240) at hudson.model.Items.load(Items.java:221) at jenkins.model.Jenkins$18.run(Jenkins.java:2577) {code}

    Jenkins JIRA | 3 years ago | Jesse Glick
    com.thoughtworks.xstream.mapper.CannotResolveClassException: com.cloudbees.plugins.flow.BuildFlow
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    [JENKINS-27992] Unable to launch weblogic Deployer plugin after installation - Jenkins JIRA

    jenkins-ci.org | 1 year ago
    com.thoughtworks.xstream.mapper.CannotResolveClassException: xs:schema
  6. 0

    Loading Configs in Groovy

    Google Groups | 5 years ago | jflowers
    com.thoughtworks.xstream.mapper.CannotResolveClassException: project : project

    2 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. com.thoughtworks.xstream.mapper.CannotResolveClassException

      com.cloudbees.plugins.flow.BuildFlow

      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass()
    2. XStream Core
      MapperWrapper.realClass
      1. com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:56)
      2. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      3. com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
      4. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      5. com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
      6. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      7. com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
      8. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      9. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      10. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      11. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      12. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      13. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      14. com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
      15. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      16. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      17. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      18. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      19. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      20. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      21. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      22. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      22 frames
    3. Hudson
      XStream2$CompatibilityMapper.realClass
      1. hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:256)
      1 frame
    4. XStream Core
      MapperWrapper.realClass
      1. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      1 frame
    5. Hudson
      MapperDelegate.realClass
      1. hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43)
      1 frame
    6. XStream Core
      XStream.unmarshal
      1. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      2. com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:49)
      3. com.thoughtworks.xstream.core.util.HierarchicalStreams.readClassType(HierarchicalStreams.java:29)
      4. com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:133)
      5. com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      6. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1061)
      6 frames
    7. Hudson
      XStream2.unmarshal
      1. hudson.util.XStream2.unmarshal(XStream2.java:109)
      1 frame
    8. XStream Core
      XStream.fromXML
      1. com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1045)
      2. com.thoughtworks.xstream.XStream.fromXML(XStream.java:925)
      2 frames
    9. Hudson
      ItemGroupMixIn.loadChildren
      1. hudson.XmlFile.read(XmlFile.java:143)
      2. hudson.model.Items.load(Items.java:220)
      3. hudson.model.ItemGroupMixIn.loadChildren(ItemGroupMixIn.java:99)
      3 frames
    10. com.cloudbees.hudson
      Folder.onLoad
      1. com.cloudbees.hudson.plugins.folder.Folder.onLoad(Folder.java:240)
      1 frame
    11. Hudson
      Items.load
      1. hudson.model.Items.load(Items.java:221)
      1 frame
    12. jenkins.model
      Jenkins$18.run
      1. jenkins.model.Jenkins$18.run(Jenkins.java:2577)
      1 frame