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

blackberry.com | 6 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    "The page cannot be displayed" appears when an attempt is made to access the BlackBerry Administration Service after the Blackberry Server has been Installed or updated

    blackberry.com | 6 months ago
    com.rim.bes.bas.system.EncoderException: javax.crypto.IllegalBlockSizeException: Input length must be multiple of 16 when decrypting with padded cipher
  2. 0

    Cannot start BES5 Server services automatically after an upgrade to Java 1.6.0

    blackberry.com | 7 months ago
    com.rim.bes.bas.system.EncoderException: java.security.InvalidKeyException: Illegal key size or default parameters

    Root Cause Analysis

    1. 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()
    2. com.rim.bes
      BASMain.main
      1. com.rim.bes.bas.system.Encoder.decode(Encoder.java:501)
      2. com.rim.bes.bas.system.Encoder.decode(Encoder.java:423)
      3. com.rim.bes.bas.system.BASMain.getKeyStoreRegistryKeyValues(BASMain.java:1637)
      4. com.rim.bes.bas.system.BASMain.initialize(BASMain.java:1366)
      5. com.rim.bes.bas.system.BASMain.main(BASMain.java:1109)
      5 frames