Skip to Content.
Sympa Menu

mace-opensaml-users - Re: xerces trouble

Subject: OpenSAML user discussion

List archive

Re: xerces trouble


Chronological Thread 
  • From: Leonid Igolnik <>
  • To:
  • Subject: Re: xerces trouble
  • Date: Tue, 17 Jul 2007 13:25:28 -0700

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




Archive powered by MHonArc 2.6.16.

Top of Page