com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.nested__view.NestedView

Google Groups | Ben....@OntarioSystems.com (JIRA) | 4 months ago
  1. 0

    [JIRA] (JENKINS-37450) Cannot create nestedView with job-dsl 1.49

    Google Groups | 4 months ago | Ben....@OntarioSystems.com (JIRA)
    com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.nested__view.NestedView
  2. 0

    This all worked fine earlier today when I had 1.48. Once I upgraded to 1.49 I started getting this error: {code} 11:40:52 com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.nested__view.NestedView 11:40:52 at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:282) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:43) 11:40:52 at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30) 11:40:52 at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:48) 11:40:52 at javaposse.jobdsl.plugin.JenkinsJobManagement.checkItemType(JenkinsJobManagement.java:526) 11:40:52 at javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateView(JenkinsJobManagement.java:172) 11:40:52 at javaposse.jobdsl.dsl.JobManagement$createOrUpdateView$7.call(Unknown Source) 11:40:52 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141) 11:40:52 at javaposse.jobdsl.plugin.InterruptibleJobManagement.createOrUpdateView(InterruptibleJobManagement.groovy:43) 11:40:52 at javaposse.jobdsl.dsl.JobManagement$createOrUpdateView$7.call(Unknown Source) 11:40:52 at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader$_extractGeneratedViews_closure5.doCall(DslScriptLoader.groovy:224) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 11:40:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11:40:52 at java.lang.reflect.Method.invoke(Method.java:497) 11:40:52 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) 11:40:52 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 11:40:52 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) 11:40:52 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024) 11:40:52 at groovy.lang.Closure.call(Closure.java:414) 11:40:52 at groovy.lang.Closure.call(Closure.java:430) 11:40:52 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030) 11:40:52 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015) 11:40:52 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2068) 11:40:52 at org.codehaus.groovy.runtime.dgm$164.invoke(Unknown Source) 11:40:52 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274) 11:40:52 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedViews(DslScriptLoader.groovy:221) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader.this$2$extractGeneratedViews(DslScriptLoader.groovy) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 11:40:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11:40:52 at java.lang.reflect.Method.invoke(Method.java:497) 11:40:52 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) 11:40:52 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 11:40:52 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:384) 11:40:52 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024) 11:40:52 at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.callCurrent(PogoMetaClassSite.java:69) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:174) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader$_runScriptsWithClassLoader_closure1.doCall(DslScriptLoader.groovy:87) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 11:40:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11:40:52 at java.lang.reflect.Method.invoke(Method.java:497) 11:40:52 at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93) 11:40:52 at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325) 11:40:52 at org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294) 11:40:52 at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024) 11:40:52 at groovy.lang.Closure.call(Closure.java:414) 11:40:52 at groovy.lang.Closure.call(Closure.java:430) 11:40:52 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030) 11:40:52 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015) 11:40:52 at org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2068) 11:40:52 at org.codehaus.groovy.runtime.dgm$164.invoke(Unknown Source) 11:40:52 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274) 11:40:52 at org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader.runScriptsWithClassLoader(DslScriptLoader.groovy:68) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader.this$2$runScriptsWithClassLoader(DslScriptLoader.groovy) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 11:40:52 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) 11:40:52 at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 11:40:52 at java.lang.reflect.Method.invoke(Method.java:497) 11:40:52 at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite$PogoCachedMethodSiteNoUnwrapNoCoerce.invoke(PogoMetaMethodSite.java:210) 11:40:52 at org.codehaus.groovy.runtime.callsite.PogoMetaMethodSite.callCurrent(PogoMetaMethodSite.java:59) 11:40:52 at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:182) 11:40:52 at javaposse.jobdsl.dsl.DslScriptLoader.runScripts(DslScriptLoader.groovy:44) 11:40:52 at javaposse.jobdsl.plugin.ExecuteDslScripts.perform(ExecuteDslScripts.java:327) 11:40:52 at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:78) 11:40:52 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20) 11:40:52 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:779) 11:40:52 at hudson.model.Build$BuildExecution.build(Build.java:205) 11:40:52 at hudson.model.Build$BuildExecution.doRun(Build.java:162) 11:40:52 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534) 11:40:52 at hudson.model.Run.execute(Run.java:1720) 11:40:52 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43) 11:40:52 at hudson.model.ResourceController.execute(ResourceController.java:98) 11:40:52 at hudson.model.Executor.run(Executor.java:404) 11:40:52 ERROR: hudson.plugins.nested__view.NestedView {code} The jobdsl code in question is pretty boring: {code} nestedView('0_Factories') { views { listView('Factories') { jobs { regex('^Factory-.*') } columns { status() weather() name() lastSuccess() lastFailure() lastDuration() buildButton() } } listView('Something else') { description('''\ Some other stuff goes here '''.stripIndent()) jobs { name("foo") name("bar") } columns { status() weather() name() lastSuccess() lastFailure() lastDuration() buildButton() } } } configure { it << defaultView('Factories') } } {code} When I downgraded to 1.48, it all works again.

    Jenkins JIRA | 4 months ago | Ben Dean
    com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.plugins.nested__view.NestedView
  3. 0

    Getting the following error after reloading configuration from the SCM plugin: Error hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml at hudson.WebAppMain$3.run(WebAppMain.java:239) Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:969) at jenkins.model.Jenkins.<init>(Jenkins.java:850) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) Caused by: java.io.IOException: Unable to read /var/lib/jenkins/config.xml at hudson.XmlFile.unmarshal(XmlFile.java:165) at jenkins.model.Jenkins$17.run(Jenkins.java:2730) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:958) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: jenkins.util.xstream.CriticalXStreamException: com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy : com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy ---- Debugging information ---- message : com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy class : hudson.model.Hudson required-type : hudson.model.Hudson converter-type : hudson.util.RobustReflectionConverter path : /hudson/authorizationStrategy line number : 12 version : not available ------------------------------- at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:315) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189) at hudson.util.XStream2.unmarshal(XStream2.java:114) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173) at hudson.XmlFile.unmarshal(XmlFile.java:163) ... 9 more Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79) 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.SecurityMapper.realClass(SecurityMapper.java:71) 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:282) 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:48) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:420) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:286) ... 20 more Page generated: Mar 17, 2016 3:02:46 PM CST Jenkins ver. 1.653

    Jenkins JIRA | 9 months ago | Veronica Èlizondo
    hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Getting the following error after reloading configuration from the SCM plugin: Error hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml at hudson.WebAppMain$3.run(WebAppMain.java:239) Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269) at jenkins.InitReactorRunner.run(InitReactorRunner.java:44) at jenkins.model.Jenkins.executeReactor(Jenkins.java:969) at jenkins.model.Jenkins.<init>(Jenkins.java:850) at hudson.model.Hudson.<init>(Hudson.java:85) at hudson.model.Hudson.<init>(Hudson.java:81) at hudson.WebAppMain$3.run(WebAppMain.java:227) Caused by: java.io.IOException: Unable to read /var/lib/jenkins/config.xml at hudson.XmlFile.unmarshal(XmlFile.java:165) at jenkins.model.Jenkins$17.run(Jenkins.java:2730) at org.jvnet.hudson.reactor.TaskGraphBuilder$TaskImpl.run(TaskGraphBuilder.java:169) at org.jvnet.hudson.reactor.Reactor.runTask(Reactor.java:282) at jenkins.model.Jenkins$8.runTask(Jenkins.java:958) at org.jvnet.hudson.reactor.Reactor$2.run(Reactor.java:210) at org.jvnet.hudson.reactor.Reactor$Node.run(Reactor.java:117) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:745) Caused by: jenkins.util.xstream.CriticalXStreamException: com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy : com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy ---- Debugging information ---- message : com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy cause-exception : com.thoughtworks.xstream.mapper.CannotResolveClassException cause-message : com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy class : hudson.model.Hudson required-type : hudson.model.Hudson converter-type : hudson.util.RobustReflectionConverter path : /hudson/authorizationStrategy line number : 12 version : not available ------------------------------- at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:315) at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:229) at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:72) at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:65) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:66) at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:50) at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:134) at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1189) at hudson.util.XStream2.unmarshal(XStream2.java:114) at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1173) at hudson.XmlFile.unmarshal(XmlFile.java:163) ... 9 more Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79) 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.SecurityMapper.realClass(SecurityMapper.java:71) 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:282) 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:48) at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:420) at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:286) ... 20 more Page generated: Mar 17, 2016 3:02:46 PM CST Jenkins ver. 1.653

    Jenkins JIRA | 9 months ago | Veronica Èlizondo
    hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: Unable to read /var/lib/jenkins/config.xml
  6. 0

    Locked out of Jenkins

    Google Groups | 2 months ago | Levente Barabas
    java.io.IOException: Unable to read D:\jenkins\config.xml

    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

      hudson.plugins.nested__view.NestedView

      at com.thoughtworks.xstream.mapper.DefaultMapper.realClass()
    2. XStream Core
      MapperWrapper.realClass
      1. com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:79)
      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.SecurityMapper.realClass(SecurityMapper.java:71)
      22. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      23. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      24. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      24 frames
    3. Hudson
      XStream2$CompatibilityMapper.realClass
      1. hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:282)
      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
      CachingMapper.realClass
      1. com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:30)
      2. com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:48)
      2 frames
    7. javaposse.jobdsl.plugin
      JenkinsJobManagement.createOrUpdateView
      1. javaposse.jobdsl.plugin.JenkinsJobManagement.checkItemType(JenkinsJobManagement.java:526)
      2. javaposse.jobdsl.plugin.JenkinsJobManagement.createOrUpdateView(JenkinsJobManagement.java:172)
      2 frames
    8. javaposse.jobdsl.dsl
      JobManagement$createOrUpdateView$7.call
      1. javaposse.jobdsl.dsl.JobManagement$createOrUpdateView$7.call(Unknown Source)
      1 frame
    9. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      3 frames
    10. javaposse.jobdsl.plugin
      InterruptibleJobManagement.createOrUpdateView
      1. javaposse.jobdsl.plugin.InterruptibleJobManagement.createOrUpdateView(InterruptibleJobManagement.groovy:43)
      1 frame
    11. javaposse.jobdsl.dsl
      JobManagement$createOrUpdateView$7.call
      1. javaposse.jobdsl.dsl.JobManagement$createOrUpdateView$7.call(Unknown Source)
      1 frame
    12. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
      2. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
      3. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:141)
      3 frames
    13. javaposse.jobdsl.dsl
      DslScriptLoader$_extractGeneratedViews_closure5.doCall
      1. javaposse.jobdsl.dsl.DslScriptLoader$_extractGeneratedViews_closure5.doCall(DslScriptLoader.groovy:224)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:497)
      4 frames
    15. Groovy
      AbstractCallSite.call
      1. org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:93)
      2. groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:325)
      3. org.codehaus.groovy.runtime.metaclass.ClosureMetaClass.invokeMethod(ClosureMetaClass.java:294)
      4. groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1024)
      5. groovy.lang.Closure.call(Closure.java:414)
      6. groovy.lang.Closure.call(Closure.java:430)
      7. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2030)
      8. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2015)
      9. org.codehaus.groovy.runtime.DefaultGroovyMethods.each(DefaultGroovyMethods.java:2068)
      10. org.codehaus.groovy.runtime.dgm$164.invoke(Unknown Source)
      11. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite$PojoMetaMethodSiteNoUnwrapNoCoerce.invoke(PojoMetaMethodSite.java:274)
      12. org.codehaus.groovy.runtime.callsite.PojoMetaMethodSite.call(PojoMetaMethodSite.java:56)
      13. org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
      13 frames
    16. javaposse.jobdsl.dsl
      DslScriptLoader.extractGeneratedViews
      1. javaposse.jobdsl.dsl.DslScriptLoader.extractGeneratedViews(DslScriptLoader.groovy:221)
      1 frame