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

Solutions on the web

via Stack Overflow by Jace
, 2 years ago
via Stack Overflow by Robert Estivill
, 1 year ago
via Stack Overflow by Coder
, 1 year ago
via Stack Overflow by deepwinter
, 2 years ago
javax.crypto.BadPaddingException: pad block corrupted	at com.android.org.bouncycastle.jcajce.provider.symmetric.util.BaseBlockCipher.engineDoFinal(BaseBlockCipher.java:854)	at javax.crypto.Cipher.doFinal(Cipher.java:1340)	at com.dhungana.aditya.myapplication.AESHelper.decrypt(AESHelper.java:54)	at com.dhungana.aditya.myapplication.AESHelper.decrypt(AESHelper.java:27)	at com.dhungana.aditya.myapplication.MainActivity.onCreate(MainActivity.java:27)	at android.app.Activity.performCreate(Activity.java:5933)	at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1105)	at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2269)	at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2376)	at android.app.ActivityThread.access$800(ActivityThread.java:147)	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1281)	at android.os.Handler.dispatchMessage(Handler.java:102)	at android.os.Looper.loop(Looper.java:135)	at android.app.ActivityThread.main(ActivityThread.java:5253)	at java.lang.reflect.Method.invoke(Native Method)	at java.lang.reflect.Method.invoke(Method.java:372)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:948)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:743)