mace-opensaml-users - Re: xerces trouble
Subject: OpenSAML user discussion
List archive
- From: Chad La Joie <>
- To:
- Subject: Re: xerces trouble
- Date: Wed, 18 Jul 2007 06:24:15 -0400
- Organization: OIS - Middleware
Sorry, the only time I've seen this error is when people were using JAXP 1.1. Which version of Xerces/Xalan did you endorse?
Leonid Igolnik wrote:
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
--
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.