You're using https://plugins.jenkins.io/role-strategy/ and that plugin is not installed, disabled, or unloadable. Check the log to find out which, then address the problem.
On Mon, Dec 7, 2020 at 8:40 AM Adrian Wyssmann <[email protected]> wrote: > Hi all > > Today we are suddenly facing issues with ldap plugin > > 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:379) 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:476) > at > hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:326) > Caused: 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 : 14 version : not available > > The issue is also described at > https://stackoverflow.com/questions/55429268/jenkins-unable-to-read-config-xml-hudson-security-globalmatrixauthorizationstra, > however the solution described there does not really help me. > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/386a8b43-9864-4a33-8396-3698edb327f9n%40googlegroups.com > <https://groups.google.com/d/msgid/jenkinsci-users/386a8b43-9864-4a33-8396-3698edb327f9n%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- Daniel Beck Senior Software Engineer CloudBees, Inc. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CAMo7PtLzmMwbn-Gca_rv%3DpiW9AFQpzp_aktv6QCBCjyb4hZXBA%40mail.gmail.com.
