Skip to Content.
Sympa Menu

mace-opensaml-users - Issue with SignatureBuilder

Subject: OpenSAML user discussion

List archive

Issue with SignatureBuilder


Chronological Thread 
  • From: Chandra Tondepu <>
  • To:
  • Subject: Issue with SignatureBuilder
  • Date: Thu, 14 Jan 2010 13:30:33 -0500
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=sTUCh8z++2flnuDPsUp/5czjGCguaKthTLVZxJSmi5dKIHGe3qnQDHc31Kc19XsEtg rmAD0yzMY82iil9rNM9obSaHEJe/6nc9VgqeJmTdp+Hd9t4Kkx2xBxoLJL53a2OUsJ1z DLz1rceG3JTsAdzxzWHHACFf5hZnm1wYOthTE=

The webapplication running on tomcat 6 is not able to load and create object for SignatureBuilder.  I have loaded all the .xml files through Configuration into the Parser, but for some reason it is not picking up SingatureBuilder though it is picking up SubjectBuilder, IssuerBuilder, EnvelopeBuilder etc.,??  Why SignatureBuilder so special??


SignatureBuilder signaturebuilder = ((SignatureBuilder)builderFactory.getBuilder(Signature.DEFAULT_ELEMENT_NAME));
System.out.println("Classname:" + builderFactory.getClass().getName());
System.out.println("SignatureBuilder"+signaturebuilder);
signature123 = (Signature) ((XMLObjectBuilder)builderFactory.getBuilder(Signature.DEFAULT_ELEMENT_NAME)).buildObject(Signature.DEFAULT_ELEMENT_NAME);


java.lang.NullPointerException
at com.cst.saml2.attrqry.SignAttributeQuery.<init>(SignAttributeQuery.java:122)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1104)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:806)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:133)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:216)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:634)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)
at java.lang.Thread.run(Unknown Source)



Archive powered by MHonArc 2.6.16.

Top of Page