com.rim.bes.bas.system.EncoderException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher

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 blackberry.com by Unknown author, 1 year ago
javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.SunJCE_f.b(DashoA13*..) at com.sun.crypto.provider.AESCipher.engineDoFinal(DashoA13*..) at javax.crypto.Cipher.doFinal(DashoA13*..)
at com.rim.bes.bas.system.Encoder.decode(Encoder.java:501)
at com.rim.bes.bas.system.Encoder.decode(Encoder.java:423)
at com.rim.bes.bas.system.BASMain.getKeyStoreRegistryKeyValues(BASMain.java:1637)
at com.rim.bes.bas.system.BASMain.initialize(BASMain.java:1366)
at com.rim.bes.bas.system.BASMain.main(BASMain.java:1109)

Users with the same issue

You are the first who have seen this exception.

Write tip

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