javax.crypto.BadPaddingException: Given final block not properly padded

Coderanch | Kevin P Smith | 8 years ago
  1. 0

    String encryption/decryption - 'block not properly padded' error

    Coderanch | 8 years ago | Kevin P Smith
    javax.crypto.BadPaddingException: Given final block not properly padded
  2. 0

    Struggling with Apex Data Loader Command Line Password - Salesforce Developer Community

    salesforce.com | 1 year ago
    javax.crypto.BadPaddingException: Given final block not properly padded
  3. 0

    Struggling with Apex Data Loader Command Line Password - Salesforce Developer Community

    salesforce.com | 8 months ago
    javax.crypto.BadPaddingException: Given final block not properly padded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    PIN Data problem

    Google Groups | 1 decade ago | ricmoore
    javax.crypto.BadPaddingException: Given final block not properly padded
  6. 0

    db:: 7.26::BadPaddingException: Given final block not properly padded j9

    hivmr.com | 8 months ago
    oracle.retail.stores.keystoreencryption.EncryptionServiceException: Error decrypting text
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.crypto.BadPaddingException

    Given final block not properly padded

    at com.sun.crypto.provider.SunJCE_h.b()
  2. com.sun.crypto
    DESCipher.engineDoFinal
    1. com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
    2. com.sun.crypto.provider.SunJCE_h.b(DashoA12275)
    3. com.sun.crypto.provider.DESCipher.engineDoFinal(DashoA12275)
    3 frames
  3. Android Platform
    Cipher.doFinal
    1. javax.crypto.Cipher.doFinal(DashoA12275)
    1 frame
  4. com.test.security
    DecryptData.decryptData
    1. com.test.security.DecryptData.decryptData(Unknown Source)
    1 frame
  5. com.test.beans
    CreateNewAccountBean.getTelno
    1. com.test.beans.CreateNewAccountBean.decryptGeneralData(Unknown Source)
    2. com.test.beans.CreateNewAccountBean.getTelno(Unknown Source)
    2 frames
  6. org.apache.jsp
    confirm_002ddetails_jsp._jspService
    1. org.apache.jsp.pages.unsecure.create_002daccount.confirm_002ddetails_jsp._jspService(confirm_002ddetails_jsp.java:193)
    1 frame
  7. GWT dev
    HttpJspBase.service
    1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:111)
    1 frame
  8. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  9. GWT dev
    JspServlet.service
    1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:353)
    2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:409)
    3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:317)
    3 frames
  10. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    1 frame
  11. Glassfish Core
    ApplicationDispatcher.forward
    1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    2. org.apache.catalina.core.ApplicationDispatcher.doInvoke(ApplicationDispatcher.java:850)
    3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:697)
    4. org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:532)
    5. org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:465)
    6. org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:353)
    6 frames
  12. com.test.web
    CreateNewAccountServlet.doPost
    1. com.test.web.servlets.CreateNewAccountServlet.onInit(Unknown Source)
    2. com.test.web.servlets.CreateNewAccountServlet.doPost(Unknown Source)
    2 frames
  13. JavaServlet
    HttpServlet.service
    1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    2. javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
    2 frames
  14. Glassfish Core
    StandardPipeline.doInvoke
    1. org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
    2. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
    3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    5. org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
    6. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
    7. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    7 frames
  15. Glassfish
    WebPipeline.invoke
    1. com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
    1 frame
  16. Glassfish Core
    StandardPipeline.doInvoke
    1. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
    2. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    2 frames
  17. Glassfish
    VirtualServerPipeline.invoke
    1. com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
    1 frame
  18. Glassfish Core
    ContainerBase.invoke
    1. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    2. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
    3. org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
    4. org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
    5. org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
    5 frames
  19. org.apache.coyote
    CoyoteAdapter.service
    1. org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
    1 frame
  20. Glassfish Core
    WorkerThread.run
    1. com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
    2. com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
    3. com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
    4. com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
    5. com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
    6. com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
    7. com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    7 frames