File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Jarsigner error: NULL Pointer exception

 
Divya Menon
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic