Skip to Content.
Sympa Menu

mace-opensaml-users - Re: xerces trouble

Subject: OpenSAML user discussion

List archive

Re: xerces trouble


Chronological Thread 
  • From: Chad La Joie <>
  • To:
  • Subject: Re: xerces trouble
  • Date: Tue, 17 Jul 2007 16:28:06 -0400
  • Organization: OIS - Middleware

You need to endorse Xerces and Xalan. This is the error you get when trying to use JAXP 1.1

Leonid Igolnik wrote:
Resending, my first message bounced since I was not subscribed.

Leonid
On Jul 16, 2007, at 11:43 PM, Leonid Igolnik wrote:

Guys, I am hitting a wall here, we are trying to integrate openSaml into the product that already have a newer version of xerces bundled. We get:

java.lang.AbstractMethodError: javax.xml.parsers.DocumentBuilderFactory.setFeature(Ljava/lang/String;Z)V
at org.opensaml.XML$ParserPool.<init>(XML.java:487)
at org.opensaml.XML.<clinit>(XML.java:117)
at org.opensaml.SAMLSignedObject.fromDOM(SAMLSignedObject.java:79)
at org.opensaml.SAMLAssertion.fromDOM(SAMLAssertion.java:188)
at org.opensaml.SAMLAssertion.<init>(SAMLAssertion.java:158)

When trying to parse the assertion from XML, if we replace the xerces with the one from the 1.1 distro we get:

java.lang.NullPointerException
at org.apache.xerces.dom.ElementImpl.setIdAttributeNode(Unknown Source)
at org.opensaml.SAMLAssertion.fromDOM(SAMLAssertion.java:201)
at org.opensaml.SAMLAssertion.<init>(SAMLAssertion.java:158)


Any insight will be appreciated.

Leonid

--
Chad La Joie 2052-C Harris Bldg
OIS-Middleware 202.687.0124



Archive powered by MHonArc 2.6.16.

Top of Page