mace-opensaml-users - NullPointerException during bootstrap
Subject: OpenSAML user discussion
List archive
- From: Carlos Rivera <>
- To: "" <>
- Subject: NullPointerException during bootstrap
- Date: Fri, 10 Apr 2009 12:42:46 -0500
- Accept-language: en-US
- Acceptlanguage: en-US
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
- NullPointerException during bootstrap, Carlos Rivera, 04/10/2009
- Re: [OpenSAML] NullPointerException during bootstrap, Chad La Joie, 04/10/2009
- RE: [OpenSAML] NullPointerException during bootstrap, Carlos Rivera, 04/10/2009
- Re: [OpenSAML] NullPointerException during bootstrap, Chad La Joie, 04/10/2009
- Re: [OpenSAML] NullPointerException during bootstrap, Paul Hethmon, 04/10/2009
- Re: [OpenSAML] NullPointerException during bootstrap, Chad La Joie, 04/10/2009
- RE: [OpenSAML] NullPointerException during bootstrap, Carlos Rivera, 04/10/2009
- Re: [OpenSAML] NullPointerException during bootstrap, Chad La Joie, 04/10/2009
Archive powered by MHonArc 2.6.16.