You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@santuario.apache.org by Murugan Selvaraj <ms...@digitalbridge.com> on 2006/03/21 17:34:41 UTC

null pointer exception while signing

Hi All,

 

I am facing an issue with signing the XML file.I have the apache sample
code that works file for signing the XML file.I am now trying to
integrate with my framework .It is not working.I am getting null pointer
exception while signing.

 

Thought I copied the keystore file to the location where I am executing
the framework , I am getting null pointer exception.

 

Does any one have any idea? .

 

I am getting the private key but getting null pointer exception .during
signing as null

 

try

            {

            xmlSig.sign(privKey);

            }catch(Exception ee)

            {

                        System.out.println("private key"+privKey);

                        

                        System.out.println("excepton during
signing"+ee.getMessage());

            }

 

Regards

Murugan