mace-opensaml-users - Problem in creating Assertion Object
Subject: OpenSAML user discussion
List archive
- From:
- To:
- Subject: Problem in creating Assertion Object
- Date: Sat, 26 Aug 2006 14:10:33 -0400 (EDT)
Hello World!,
I am using opensaml2 java ,when trying to execute sample code given in
user manual of opensaml i am getting following error.
public class HelloworldSAML {
public static void main( String[] args) {
try {
// Get the builder factory
XMLObjectBuilderFactory builderFactory =
Configuration.getBuilderFactory();
// Get the assertion builder based on the assertion element name
AssertionBuilder builder = (AssertionBuilder)
builderFactory.getBuilder(Assertion.DEFAULT_ELEMENT_NAME);
// Create the assertion
Assertion assertion = builder.buildObject();
} catch (Exception e) {
e.printStackTrace();
}
}
Error:
java.lang.NullPointerException
at Helloworld.main(Helloworld.java:35)
I am using opensaml from this link
http://shibboleth.internet2.edu/downloads/opensaml2/java/tp1/
please help me.
thanks
harsha
- Problem in creating Assertion Object, harsha . ch, 08/26/2006
- RE: Problem in creating Assertion Object, Scott Cantor, 08/26/2006
- <Possible follow-up(s)>
- Re: RE: Problem in creating Assertion Object, harsha . ch, 08/26/2006
- Re: Problem in creating Assertion Object, Chad la Joie, 08/26/2006
- Re: Re: Problem in creating Assertion Object, harsha . ch, 08/27/2006
- RE: Re: Problem in creating Assertion Object, Scott Cantor, 08/27/2006
Archive powered by MHonArc 2.6.16.