javax.crypto.BadPaddingException

Decryption error

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web81

  • Decryption error ----------------DECRYPTION COMPLETED------------
  • Decryption error ----------------DECRYPTION COMPLETED------------
  • Decryption error ----------------DECRYPTION COMPLETED------------
  • Stack trace

    • javax.crypto.BadPaddingException: Decryption error at sun.security.rsa.RSAPadding.unpadV15(RSAPadding.java:380)[na:1.8.0_121] at sun.security.rsa.RSAPadding.unpad(RSAPadding.java:291)[na:1.8.0_121] at com.sun.crypto.provider.RSACipher.doFinal(RSACipher.java:363)[sunjce_provider.jar:1.8.0_112] at com.sun.crypto.provider.RSACipher.engineDoFinal(RSACipher.java:389)[sunjce_provider.jar:1.8.0_112] at javax.crypto.Cipher.doFinal(Cipher.java:2165)[na:1.8.0_121] at org.kaaproject.kaa.common.endpoint.security.MessageEncoderDecoder.decodeSessionKey(MessageEncoderDecoder.java:189)[endpoint-shared-0.10.0.jar:na] at org.kaaproject.kaa.common.endpoint.security.MessageEncoderDecoder.decodeData(MessageEncoderDecoder.java:218)[endpoint-shared-0.10.0.jar:na] at org.kaaproject.kaa.server.bootstrap.service.transport.BootstrapTransportService$BootstrapMessageHandler$1.decodeEncryptedRequest(BootstrapTransportService.java:269)[kaa-node-0.10.0.jar:na] at org.kaaproject.kaa.server.bootstrap.service.transport.BootstrapTransportService$BootstrapMessageHandler$1.decodeRequest(BootstrapTransportService.java:250)[kaa-node-0.10.0.jar:na] at org.kaaproject.kaa.server.bootstrap.service.transport.BootstrapTransportService$BootstrapMessageHandler$1.run(BootstrapTransportService.java:185)[kaa-node-0.10.0.jar:na] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_121] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_121] at java.lang.Thread.run(Thread.java:745)[na:1.8.0_121]

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    2 times, 7 months ago
    Unknown user
    Once, 10 months ago
    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago
    Unknown user
    Once, 1 year ago
    13 more bugmates