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. ,
    via Stack Overflow by Kevin

    If you are using maven you'd like to exclude your binaries from filtering process.

  2. ,
    Expert tip

    Java Keytool doesn't accept PEM files, you need to convert it to Der before: "openssl x509 -outform der -in certificate.pem -out certificate.der" and to import it to the keystore "keytool -import -alias your-alias -keystore cacerts -file certificate.der"

Solutions on the web

via Google Groups by Lars Schmidt, 5 months ago
via Coderanch by Shriram Gopalakrishnan, 1 year ago
via Oracle Community by 843810, 1 year ago
via Oracle Community by 658253, 1 year ago
java.io.IOException: insufficient data	at sun.security.util.DerInputBuffer.truncate(DerInputBuffer.java:125)	at sun.security.util.DerInputStream.subStream(DerInputStream.java:136)	at sun.security.util.DerInputStream.readVector(DerInputStream.java:381)	at sun.security.util.DerInputStream.getSequence(DerInputStream.java:298)	at sun.security.pkcs.ContentInfo.(ContentInfo.java:132)	at sun.security.pkcs.ContentInfo.(ContentInfo.java:109)	at sun.security.pkcs12.PKCS12KeyStore.engineLoad(PKCS12KeyStore.java:1247)	at java.security.KeyStore.load(KeyStore.java:1214)