*
The moose likes Java in General and the fly likes Jarsigner error: NULL Pointer exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Jarsigner error: NULL Pointer exception" Watch "Jarsigner error: NULL Pointer exception" New topic
Author

Jarsigner error: NULL Pointer exception

Divya Menon
Greenhorn

Joined: Jun 14, 2007
Posts: 2
Hi,

I have been trying to sign a jar file using jarsigner with keystore being my ActivKey which is PKCS#11 compliant. Please find below the Command line statement I have used:

Command line Statement:

jarsigner -keystore NONE -storetype PKCS11 -signedjar CSPOne.jar -verbose CSP.jar "SampleAlias"

Here
-->CSP.jar is the jar to be signed
-->CSPOne.jar is the name for the signed jar(which the jarsigner should return)
-->SampleAlias is the alias name of the keystore of my active key

After this,it prompts me for the keystore password:
Enter Passphrase for keystore: xxxxxx

And this is the result:

adding: META-INF/MANIFEST.MF
jarsigner error: java.lang.NullPointerException

Could somebody please let me know what the problem could be?

Thanks!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Jarsigner error: NULL Pointer exception