Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Thrown when an application is trying to use or access an object whose reference equals to null. You are probably trying to use a reference that points to no location in memory as though it were referencing an object.

Solutions on the web

via openas2 by akwitt
, 1 year ago
java.lang.NullPointerException
org.openas2.WrappedException: java.lang.NullPointerException at org.openas2.app.cert.ImportCertCommand.execute(ImportCertCommand.java:57) at org.openas2.app.cert.AliasedCertCommand.execute(AliasedCertCommand.java:15) at org.openas2.app.MultiCommand.execute(MultiCommand.java:75) at org.openas2.app.StreamCommandProcessor.processCommand(StreamCommandProcessor.java:59) at org.openas2.app.OpenAS2Server.start(OpenAS2Server.java:60) at org.openas2.app.OpenAS2Server.main(OpenAS2Server.java:17)Caused by: java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at org.bouncycastle.jce.provider.JDKPKCS12KeyStore.engineSetKeyEntry(JDKPKCS12KeyStore.java:485) at java.security.KeyStore.setKeyEntry(KeyStore.java:397) at org.openas2.cert.PKCS12CertificateFactory.addPrivateKey(PKCS12CertificateFactory.java:210) at org.openas2.app.cert.ImportCertCommand.importPrivateKey(ImportCertCommand.java:99) at org.openas2.app.cert.ImportCertCommand.execute(ImportCertCommand.java:53) ... 5 more