java.io.IOException: failed to decrypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.

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

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via ws-wss4j-dev by Werner Dittmann (JIRA), 1 year ago
failed to decrypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.
via Oracle Community by 843811, 1 year ago
failed to decrypt safe contents entry
via Oracle Community by 843811, 1 year ago
failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded
via GitHub by mwkirk
, 2 years ago
failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded
via java.com by Unknown author, 1 year ago
failed to decrypt safe contents entry: java.lang.ArithmeticException: / by zero
via devshed.com by Unknown author, 1 year ago
failed to decrypt safe contents entry: javax.crypto.BadPaddingException: Given final block not properly padded
java.io.IOException: failed to decrypt safe contents entryCOM.rsa.jsafe.SunJSSE_cs: Could not perform unpadding: invalid pad byte.
at COM.rsa.jsafe.SunJSSE_al.a(DashoA12275)
at COM.rsa.jsafe.SunJSSE_ag.a(DashoA12275)
at com.sun.net.ssl.internal.ssl.PKCS12KeyStore.a(DashoA12275)
at java.security.KeyStore.load(KeyStore.java:652)
at org.apache.ws.security.components.crypto.Merlin.load(Merlin.java:527)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at org.apache.ws.security.components.crypto.CryptoFactory.loadClass(CryptoFactory.java:117)
at org.astrogrid.security.MerlinTest.testAll(MerlinTest.java:31)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:325)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.