Re: Issues with role-strategy plugin on 2.32.1

2017-01-16 Thread Francisca Munhoz
Thanks for your help! The issue was fixed!

On Friday, January 13, 2017 at 12:52:58 AM UTC+11, Daniel Beck wrote:
>
>
> > On 11.01.2017, at 23:10, Francisca Munhoz  > wrote: 
> > 
> > Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: 
> com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy 
> > 
> > 
>
> You're using the role strategy plugin and it isn't installed, disabled, or 
> failed to load. The Jenkins log will tell you which. 
>
> That last one could be caused by 
> https://jenkins.io/doc/upgrade-guide/2.19/#plugin-dependency-resolution-fix 
>
>

-- 
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/038e26d0-db6a-4272-a13b-0380a9319bd5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issues with role-strategy plugin on 2.32.1

2017-01-12 Thread Daniel Beck

> On 11.01.2017, at 23:10, Francisca Munhoz  wrote:
> 
> Caused by: com.thoughtworks.xstream.mapper.CannotResolveClassException: 
> com.michelin.cio.hudson.plugins.rolestrategy.RoleBasedAuthorizationStrategy
> 
> 

You're using the role strategy plugin and it isn't installed, disabled, or 
failed to load. The Jenkins log will tell you which.

That last one could be caused by 
https://jenkins.io/doc/upgrade-guide/2.19/#plugin-dependency-resolution-fix

-- 
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/B229AC98-1710-40C2-A539-E330660C1076%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Issues with role-strategy plugin on 2.32.1

2017-01-11 Thread Francisca Munhoz
I have upgraded from 2.7.1 to 2.32.1 yesterday, and I got this message 
about RoleBasedAuthorizationStrategy:

Does anyone had this issue before? 

I was using role-strategy:2.3.2 on 2.7.1 and it did not changed for 2.32.1


hudson.util.HudsonFailedToLoad: org.jvnet.hudson.reactor.ReactorException: 
java.io.IOException: Unable to read /home/jenkins/config.xml
at hudson.WebAppMain$3.run(WebAppMain.java:248)
Caused by: org.jvnet.hudson.reactor.ReactorException: java.io.IOException: 
Unable to read /home/jenkins/config.xml
at org.jvnet.hudson.reactor.Reactor.execute(Reactor.java:269)
at jenkins.InitReactorRunner.run(InitReactorRunner.java:47)
at jenkins.model.Jenkins.executeReactor(Jenkins.java:1110)
at jenkins.model.Jenkins.(Jenkins.java:926)
at hudson.model.Hudson.(Hudson.java:85)
at hudson.model.Hudson.(Hudson.java:81)
at hudson.WebAppMain$3.run(WebAppMain.java:231)
Caused by: java.io.IOException: Unable to read /home/jenkins/config.xml
at hudson.XmlFile.unmarshal(XmlFile.java:161)
at jenkins.model.Jenkins.loadConfig(Jenkins.java:3015)
at jenkins.model.Jenkins.access$1100(Jenkins.java:326)
at jenkins.model.Jenkins$16.run(Jenkins.java:3033)
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$7.runTask(Jenkins.java:1086)
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:1142)
at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
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 : 8
version : not available
---
at 
hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:356)
at 
hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:270)
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:159)
... 11 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