javax.crypto.BadPaddingException: Given final block not properly padded\par \tab

Oracle Community | Shreesha | 2 years ago
  1. 0

    Can you help with error?

    Oracle Community | 2 years ago | Shreesha
    javax.crypto.BadPaddingException: Given final block not properly padded\par \tab
  2. 0

    In AES decryption, "Given final block not properly padded" occurred

    Stack Overflow | 3 years ago | Han
    javax.crypto.BadPaddingException: Given final block not properly padded
  3. 0

    javax.crypto.BadPaddingException: Given final block not properly padded when decrypting bytes sent to server

    Stack Overflow | 2 years ago | Levi
    javax.crypto.BadPaddingException: Given final block not properly padded
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Encrypt Data in Play Session Cookie

    Stack Overflow | 3 years ago | Nik
    javax.crypto.BadPaddingException: Given final block not properly padded
  6. 0

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

    Stack Overflow | 2 years ago | Doug
    javax.crypto.BadPaddingException: Given final block not properly padded
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\par \tab

    at com.sun.crypto.provider.CipherCore.doFinal()
  2. com.sun.crypto
    AESCipher.engineDoFinal
    1. com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:811)
    2. com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:676)
    3. com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:313)
    3 frames
  3. Android Platform
    Cipher.doFinal
    1. javax.crypto.Cipher.doFinal(Cipher.java:2087)
    1 frame
  4. oracle.security.am
    AMInitServlet.init
    1. oracle.security.am.common.utilities.crypto.AESEncrypter.decrypt(AESEncrypter.java:160)
    2. oracle.security.am.common.utilities.crypto.OAMKeyStore.decryptKeyData(OAMKeyStore.java:312)
    3. oracle.security.am.engines.sso.adapter.OAMSessionConfiguration$ConfigListener.configurationChanged(OAMSessionConfiguration.java:151)
    4. oracle.security.am.engines.sso.adapter.OAMSessionConfiguration.registerConfigChangeListener(OAMSessionConfiguration.java:75)
    5. oracle.security.am.engines.sso.adapter.OAMSessionConfiguration.<init>(OAMSessionConfiguration.java:69)
    6. oracle.security.am.engines.sso.adapter.OAMSessionConfiguration.<clinit>(OAMSessionConfiguration.java:58)
    7. oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.checkAndInit(AbstractSessionAdapterImpl.java:110)
    8. oracle.security.am.engines.sso.adapter.AbstractSessionAdapterImpl.<init>(AbstractSessionAdapterImpl.java:88)
    9. oracle.security.am.engines.sso.adapter.MultipleUserSessionAdapterImpl.<init>(MultipleUserSessionAdapterImpl.java:61)
    10. oracle.security.am.engines.sso.adapter.MultipleUserSessionAdapterImpl.<clinit>(MultipleUserSessionAdapterImpl.java:50)
    11. oracle.security.am.engines.sso.adapter.SessionManagementAdapterFactory.getAdapter(SessionManagementAdapterFactory.java:46)
    12. oracle.security.am.engines.enginecontroller.SSOEngineController.processEvent(SSOEngineController.java:567)
    13. oracle.security.am.controller.MasterController.processEvent(MasterController.java:589)
    14. oracle.security.am.controller.MasterController.processRequest(MasterController.java:780)
    15. oracle.security.am.controller.MasterController.process(MasterController.java:701)
    16. oracle.security.am.pbl.transport.http.AMInitServlet.initializeAmServer(AMInitServlet.java:139)
    17. oracle.security.am.pbl.transport.http.AMInitServlet.init(AMInitServlet.java:81)
    17 frames
  5. Atmosphere weblogic
    StubSecurityHelper$ServletInitAction.run
    1. weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283)
    1 frame
  6. weblogic.security.acl
    AuthenticatedSubject.doAs
    1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
    1 frame
  7. weblogic.security.service
    SecurityManager.runAs
    1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
    1 frame
  8. Atmosphere weblogic
    WebAppModule.start
    1. weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64)
    2. weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58)
    3. weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48)
    4. weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:539)
    5. weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1981)
    6. weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1955)
    7. weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1874)
    8. weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3154)
    9. weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1518)
    10. weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:484)
    10 frames
  9. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    1 frame
  10. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  11. weblogic.application.internal
    ModuleStateDriver$3.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
    3. weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
    4. weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
    4 frames
  12. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  13. weblogic.application.internal
    BaseDeployment$2.next
    1. weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
    2. weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
    3. weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
    3 frames
  14. weblogic.application.utils
    StateMachineDriver.nextState
    1. weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    1 frame
  15. weblogic.application.internal
    DeploymentStateChecker.activate
    1. weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
    2. weblogic.application.internal.EarDeployment.activate(EarDeployment.java:59)
    3. weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    3 frames
  16. weblogic.deploy.internal
    BasicDeployment.activateFromServerLifecycle
    1. weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    2. weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    3. weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    3 frames
  17. weblogic.management.deploy
    DeploymentServerService.start
    1. weblogic.management.deploy.internal.DeploymentAdapter$1.doActivate(DeploymentAdapter.java:51)
    2. weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    3. weblogic.management.deploy.internal.AppTransition$2.transitionApp(AppTransition.java:30)
    4. weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    5. weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:169)
    6. weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:123)
    7. weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
    8. weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
    8 frames
  18. weblogic.t3.srvr
    SubsystemRequest.run
    1. weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    1 frame
  19. weblogic.work
    ExecuteThread.run
    1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    2. weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    2 frames