Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-75322

CannotResolveClassException in hudson.security.GlobalMatrixAuthorizationStrategy

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Critical Critical
    • _unsorted
    • None
    • Update to 2.498 from 2.486 with Homebrew installed Jenkins
      macOS Sequoia 15.3

      Got the following error after just doing Upgrade Automatically to 2.498 on macOS.   Rolling back

      com.thoughtworks.xstream.mapper.CannotResolveClassException: hudson.security.GlobalMatrixAuthorizationStrategy
      	at com.thoughtworks.xstream.mapper.DefaultMapper.realClass(DefaultMapper.java:81)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at com.thoughtworks.xstream.mapper.DynamicProxyMapper.realClass(DynamicProxyMapper.java:55)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at com.thoughtworks.xstream.mapper.PackageAliasingMapper.realClass(PackageAliasingMapper.java:88)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at com.thoughtworks.xstream.mapper.ClassAliasingMapper.realClass(ClassAliasingMapper.java:79)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at com.thoughtworks.xstream.mapper.ArrayMapper.realClass(ArrayMapper.java:74)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at com.thoughtworks.xstream.mapper.SecurityMapper.realClass(SecurityMapper.java:71)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at hudson.util.XStream2$CompatibilityMapper.realClass(XStream2.java:452)
      	at hudson.util.xstream.MapperDelegate.realClass(MapperDelegate.java:46)
      	at com.thoughtworks.xstream.mapper.MapperWrapper.realClass(MapperWrapper.java:125)
      	at com.thoughtworks.xstream.mapper.CachingMapper.realClass(CachingMapper.java:47)
      	at hudson.util.RobustReflectionConverter.determineType(RobustReflectionConverter.java:551)
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:349)
      Caused: jenkins.util.xstream.CriticalXStreamException: 
      ---- Debugging information ----
      cause-exception     : com.thoughtworks.xstream.mapper.CannotResolveClassException
      cause-message       : hudson.security.GlobalMatrixAuthorizationStrategy
      class               : hudson.model.Hudson
      required-type       : hudson.model.Hudson
      converter-type      : hudson.util.RobustReflectionConverter
      path                : /hudson/authorizationStrategy
      line number         : 12
      version             : 2.498
      -------------------------------
      	at hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:384)
      	at hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:291)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:74)
      	at com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:72)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:68)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:52)
      	at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:136)
      	at com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:32)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1468)
      	at hudson.util.XStream2.unmarshal(XStream2.java:230)
      	at hudson.util.XStream2.unmarshal(XStream2.java:201)
      	at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:1445)
      	at hudson.XmlFile.unmarshal(XmlFile.java:196)
      
      

          [JENKINS-75322] CannotResolveClassException in hudson.security.GlobalMatrixAuthorizationStrategy

          Markus Winter added a comment -

          Check the complete logs for errors that lead to the matrix-auth plugin not loading. This is usually not a bug a but missing to properly updating plugins together with the jenkins update

          Markus Winter added a comment - Check the complete logs for errors that lead to the matrix-auth plugin not loading. This is usually not a bug a but missing to properly updating plugins together with the jenkins update

          Mark Thormann added a comment -

          mawinter69 Thanks!  where would I do that please for macos homebrew install?  Not seeing anything under .jenkins.

          Mark Thormann added a comment - mawinter69 Thanks!  where would I do that please for macos homebrew install?  Not seeing anything under .jenkins.

          Mark Thormann added a comment -

          Was able to roll back from backups anyways so all good for now

          Mark Thormann added a comment - Was able to roll back from backups anyways so all good for now

            Unassigned Unassigned
            the_watchman Mark Thormann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: