https://hudson.dev.java.net/issues/show_bug.cgi?id=4573 Issue #|4573
Summary|ProjectMatrixAuthorizationStrategy: Invalidated config
|.xml
Component|hudson
Version|current
Platform|All
OS/Version|Linux
URL|
Status|NEW
Status whiteboard|
Keywords|
Resolution|
Issue type|DEFECT
Priority|P3
Subcomponent|core
Assigned to|issues@hudson
Reported by|chrisabit
------- Additional comments from
[hidden email] Tue Sep 29 11:30:38 +0000 2009 -------
=> 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
------- Additional comments from
[hidden email] Sat Oct 10 02:49:06 +0000 2009 -------
*** Issue 4574 has been marked as a duplicate of this issue. ***
---------------------------------------------------------------------
To unsubscribe, e-mail:
[hidden email]
For additional commands, e-mail:
[hidden email]