mace-opensaml-users - Re: xerces trouble
Subject: OpenSAML user discussion
List archive
- From: Leonid Igolnik <>
- To:
- Subject: Re: xerces trouble
- Date: Tue, 17 Jul 2007 19:45:55 -0700
Chad, I have done that and still get the NPE, any other idea ? We do use JAXB2 in our setup, but after trying to remove it from the classpath we still get the same results.
Leonid
On Jul 17, 2007, at 1:28 PM, Chad La Joie wrote:
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
- Re: xerces trouble, Leonid Igolnik, 07/17/2007
- Re: xerces trouble, Chad La Joie, 07/17/2007
- Re: xerces trouble, Leonid Igolnik, 07/17/2007
- Re: xerces trouble, Chad La Joie, 07/18/2007
- Re: xerces trouble, Leonid Igolnik, 07/17/2007
- Re: xerces trouble, Chad La Joie, 07/17/2007
Archive powered by MHonArc 2.6.16.