Error: XPath marshal type "com.netegrity.SAML2Gen.AssertionType"
search cancel

Error: XPath marshal type "com.netegrity.SAML2Gen.AssertionType"

book

Article ID: 275644

calendar_today

Updated On:

Products

SITEMINDER CA Single Sign On Federation (SiteMinder)

Issue/Introduction


When running a Policy Server, when this one processes a SAML Request, it reports a problem by handling the XPATH:

[10/26/2023][09:53:22.506][09:53:22][378081][139975853070080][Saml2ValidatorTxm.java][getLoginId][][][][][][][][][][][][][][][][][][][][][XPath used: null   StackTrace: javax.xml.bind.MarshalException
 - with linked exception:
[com.sun.istack.SAXException2: unable to marshal type "com.netegrity.SAML2Gen.AssertionType" as an element because it is missing an @XmlRootElement annotation]
 at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:301)

[...omitted for brevity...]

Caused by: com.sun.istack.SAXException2: unable to marshal type "com.netegrity.SAML2Gen.AssertionType" as an element because it is missing an @XmlRootElement annotation
 at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:219)
 at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:308)
 at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:464)
 at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:298)

 

Resolution


Upgrade the Policy Server to version 12.8SP9 when this one will be available to benefit from fix DE582091.