Skip to Content.
Sympa Menu

mace-opensaml-users - RE: [OpenSAML] NullPointerException during bootstrap

Subject: OpenSAML user discussion

List archive

RE: [OpenSAML] NullPointerException during bootstrap


Chronological Thread 
  • From: Carlos Rivera <>
  • To: "" <>
  • Subject: RE: [OpenSAML] NullPointerException during bootstrap
  • Date: Fri, 10 Apr 2009 14:42:05 -0500
  • Accept-language: en-US
  • Acceptlanguage: en-US

I have no found any solid information regarding this issue. Is it just a
matter of dropping these jar files somewhere else?
How do I go about endorsing them?

Thanks,
________________________________________
From: Chad La Joie
[]
Sent: Friday, April 10, 2009 12:49 PM
To:

Subject: Re: [OpenSAML] NullPointerException during bootstrap

You have not endorsed Xerces and Xalan.

Carlos Rivera wrote:
> Hey guys,
>
> I'm trying to run this tutorial from opensaml.org:
> https://spaces.internet2.edu/display/OpenSAML/OSTwoUsrManJavaCreateFromXML
>
> but I keep receiving the following exception during execution.
>
>
> Exception in thread "main" java.lang.NullPointerException
> at
> org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service$Loader2.getResources(libgcj.so.90)
> at
> org.relaxng.datatype.helpers.DatatypeLibraryLoader$Service.<init>(libgcj.so.90)
> at
> org.relaxng.datatype.helpers.DatatypeLibraryLoader.<init>(libgcj.so.90)
> at gnu.xml.validation.xmlschema.XMLSchemaBuilder.<init>(libgcj.so.90)
> at
> gnu.xml.validation.xmlschema.XMLSchemaSchemaFactory.newSchema(libgcj.so.90)
> at javax.xml.validation.SchemaFactory.newSchema(libgcj.so.90)
> at org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:92)
> at org.opensaml.xml.XMLConfigurator.<init>(XMLConfigurator.java:73)
> at
> org.opensaml.DefaultBootstrap.initializeXMLTooling(DefaultBootstrap.java:139)
> at org.opensaml.DefaultBootstrap.bootstrap(DefaultBootstrap.java:83)
> at SamlHandler.main(SamlHandler.java:46)
>
>
> FYI: I had to add additional jars because they were missing from the
> opensaml source that I downloaded. Here's the complete list of jars that
> are in my classpath:
>
> opensaml-2.2.3.jar
> lib/bcprov-ext-jdk15-1.40.jar
> lib/commons-codec-1.3.jar
> lib/commons-collections-3.1.jar
> lib/commons-httpclient-3.1.jar
> lib/commons-lang-2.1.jar
> lib/jargs-1.0.jar
> lib/jcip-annotations-1.0.jar
> lib/joda-time-1.5.2.jar
> lib/not-yet-commons-ssl-0.3.9.jar
> lib/openws-1.2.2.jar
> lib/velocity-1.5.jar
> lib/xmlsec-1.4.2.jar
> lib/xmltooling-1.2.0.jar
> endorsed/resolver-2.9.1.jar
> endorsed/serializer-2.9.1.jar
> endorsed/xalan-2.7.1.jar
> endorsed/xercesImpl-2.9.1.jar
> endorsed/xml-apis-2.9.1.jar
> jcl-over-slf4j-1.5.6.jar
> slf4j-api-1.5.6.jar
> slf4j-log4j12-1.5.6.jar
> apache-log4j-1.2.15/log4j-1.2.15.jar
>

--
SWITCH
Serving Swiss Universities
--------------------------
Chad La Joie, Software Engineer, Net Services
Werdstrasse 2, P.O. Box, 8021 Zürich, Switzerland
phone +41 44 268 15 75, fax +41 44 268 15 68
,
http://www.switch.ch




Archive powered by MHonArc 2.6.16.

Top of Page