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

ProjectMatrixAuthorizationStrategy: Invalidated config.xml

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major Major
    • core
    • None
    • Platform: All, OS: Linux

      => Manage Hudson
      => Configure System
      => Access Control (LDAP-Config !!!)
      => Authorization
      => Check: Project-based Matrix Authorization Strategy
      => User/group to add: "m500488"
      => Klick "add"
      => Configure Matrix: Check all permissions fpr m500488
      => Tomcat: Reload Hudson-Webapplication
      => Reenter Hudson-Webapplication
      => The following Exception occurs:

      hudson.util.IOException2: Unable to read /usr/share/tomcat5/.hudson/config.xml
      at hudson.XmlFile.unmarshal(XmlFile.java:152)
      at hudson.model.Hudson.load(Hudson.java:1967)
      at hudson.model.Hudson.(Hudson.java:560)
      at hudson.WebAppMain$2.run(WebAppMain.java:191)
      Caused by: com.thoughtworks.xstream.converters.ConversionException: Failed to
      parse 'hudson.model.Item.Release:m500488' — no such permission : Failed to
      parse 'hudson.model.Item.Release:m500488' — no such permission
      ---- Debugging information ----
      message : Failed to parse 'hudson.model.Item.Release:m500488' — no
      such permission
      cause-exception : java.lang.IllegalArgumentException
      cause-message : Failed to parse 'hudson.model.Item.Release:m500488' — no
      such permission
      class : hudson.model.Hudson
      required-type : hudson.security.ProjectMatrixAuthorizationStrategy
      path : /hudson/authorizationStrategy/permission[2]
      line number : 9
      -------------------------------
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:89)
      at
      com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      at
      hudson.util.RobustReflectionConverter.unmarshallField(RobustReflectionConverter.java:262)
      at
      hudson.util.RobustReflectionConverter.doUnmarshal(RobustReflectionConverter.java:222)
      at
      hudson.util.RobustReflectionConverter.unmarshal(RobustReflectionConverter.java:173)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
      at
      com.thoughtworks.xstream.core.AbstractReferenceUnmarshaller.convert(AbstractReferenceUnmarshaller.java:63)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:76)
      at
      com.thoughtworks.xstream.core.TreeUnmarshaller.convertAnother(TreeUnmarshaller.java:60)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.start(TreeUnmarshaller.java:137)
      at
      com.thoughtworks.xstream.core.AbstractTreeMarshallingStrategy.unmarshal(AbstractTreeMarshallingStrategy.java:33)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:923)
      at hudson.util.XStream2.unmarshal(XStream2.java:67)
      at com.thoughtworks.xstream.XStream.unmarshal(XStream.java:909)
      at hudson.XmlFile.unmarshal(XmlFile.java:148)
      ... 3 more
      Caused by: java.lang.IllegalArgumentException: Failed to parse
      'hudson.model.Item.Release:m500488' — no such permission
      at
      hudson.security.GlobalMatrixAuthorizationStrategy.add(GlobalMatrixAuthorizationStrategy.java:101)
      at
      hudson.security.GlobalMatrixAuthorizationStrategy.access$200(GlobalMatrixAuthorizationStrategy.java:65)
      at
      hudson.security.GlobalMatrixAuthorizationStrategy$ConverterImpl.unmarshal(GlobalMatrixAuthorizationStrategy.java:218)
      at
      hudson.security.ProjectMatrixAuthorizationStrategy$ConverterImpl.unmarshal(ProjectMatrixAuthorizationStrategy.java:84)
      at hudson.util.XStream2$AssociatedConverterImpl.unmarshal(XStream2.java:151)
      at com.thoughtworks.xstream.core.TreeUnmarshaller.convert(TreeUnmarshaller.java:82)
      ... 19 more

            Unassigned Unassigned
            chrisabit chrisabit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: