javax.crypto.BadPaddingException: invalid AEAD cipher fragment

Oracle Community | 2896871 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    invalid AEAD cipher fragment

    Oracle Community | 7 months ago | 2896871
    javax.crypto.BadPaddingException: invalid AEAD cipher fragment

    Root Cause Analysis

    1. javax.crypto.BadPaddingException

      invalid AEAD cipher fragment

      at sun.security.ssl.CipherBox.applyExplicitNonce()
    2. Java JSSE
      AppInputStream.read
      1. sun.security.ssl.CipherBox.applyExplicitNonce(CipherBox.java:927)
      2. sun.security.ssl.CipherBox.applyExplicitNonce(CipherBox.java:983)
      3. sun.security.ssl.InputRecord.decrypt(InputRecord.java:157)
      4. sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1015)
      5. sun.security.ssl.SSLSocketImpl.readDataRecord(SSLSocketImpl.java:930)
      6. sun.security.ssl.AppInputStream.read(AppInputStream.java:105)
      6 frames
    3. Java RT
      BufferedInputStream.read
      1. java.io.BufferedInputStream.fill(BufferedInputStream.java:246)
      2. java.io.BufferedInputStream.read1(BufferedInputStream.java:286)
      3. java.io.BufferedInputStream.read(BufferedInputStream.java:345)
      3 frames
    4. weblogic.net.http
      HttpURLConnection.getResponseCode
      1. weblogic.net.http.MessageHeader.isHTTP(MessageHeader.java:310)
      2. weblogic.net.http.MessageHeader.parseHeader(MessageHeader.java:232)
      3. weblogic.net.http.HttpClient.parseHTTP(HttpClient.java:554)
      4. weblogic.net.http.HttpURLConnection.getInputStream(HttpURLConnection.java:688)
      5. weblogic.net.http.SOAPHttpsURLConnection.getInputStream(SOAPHttpsURLConnection.java:41)
      6. weblogic.net.http.HttpURLConnection.getResponseCode(HttpURLConnection.java:1545)
      6 frames
    5. jersey-core-client
      JerseyInvocation$2.call
      1. org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:394)
      2. org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
      3. org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:255)
      4. org.glassfish.jersey.client.JerseyInvocation$2.call(JerseyInvocation.java:700)
      4 frames
    6. Jersey Core
      RequestScope.runInScope
      1. org.glassfish.jersey.internal.Errors.process(Errors.java:315)
      2. org.glassfish.jersey.internal.Errors.process(Errors.java:297)
      3. org.glassfish.jersey.internal.Errors.process(Errors.java:228)
      4. org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
      4 frames
    7. jersey-core-client
      JerseyInvocation$Builder.method
      1. org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:696)
      2. org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:420)
      2 frames
    8. oracle.integration.platform
      MeshImpl$3.run
      1. oracle.integration.platform.blocks.rest.bc.reference.RestResource.request(RestResource.java:116)
      2. oracle.integration.platform.blocks.rest.bc.reference.RestReference.request(RestReference.java:281)
      3. oracle.integration.platform.blocks.rest.bc.reference.RestReferenceBindingComponent.request(RestReferenceBindingComponent.java:242)
      4. oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
      5. oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:215)
      6. oracle.integration.platform.blocks.mesh.MeshImpl$3.run(MeshImpl.java:344)
      7. oracle.integration.platform.blocks.mesh.MeshImpl$3.run(MeshImpl.java:342)
      7 frames
    9. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    10. oracle.integration.platform
      MeshImpl.request
      1. oracle.integration.platform.blocks.mesh.MeshImpl.doRequestAsSubject(MeshImpl.java:342)
      2. oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:281)
      2 frames
    11. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1379.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    12. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    13. oracle.integration.platform
      PhaseEventAspect.invoke
      1. oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:69)
      1 frame
    14. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    15. com.sun.proxy
      $Proxy382.request
      1. com.sun.proxy.$Proxy382.request(Unknown Source)
      1 frame
    16. oracle.fabric
      CubeServiceEngine.requestToMesh
      1. oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:1143)
      1 frame
    17. com.collaxa.cube
      BaseBPELActivityWMP$1.call
      1. com.collaxa.cube.ws.WSInvocationManager.invoke0(WSInvocationManager.java:262)
      2. com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:332)
      3. com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1460)
      4. com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalWSDLInvoke(InvokeHandler.java:806)
      5. com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:497)
      6. com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:158)
      7. com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:78)
      8. com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:197)
      9. com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:195)
      9 frames
    18. com.collaxa.bpel
      SWSComponentProcessActivityWrapper.execute
      1. com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper$1.call(SWSComponentProcessActivityWrapper.java:74)
      2. com.collaxa.bpel.sws.SWSCallableActivityWrapper.execute(SWSCallableActivityWrapper.java:89)
      3. com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper.execute(SWSComponentProcessActivityWrapper.java:82)
      3 frames
    19. com.collaxa.cube
      BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.__WL_invoke
      1. com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:205)
      2. com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2909)
      3. com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1276)
      4. com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1165)
      5. com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:92)
      6. com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:300)
      7. com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:379)
      8. com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4935)
      9. com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4859)
      10. com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:763)
      11. com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:600)
      12. com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:129)
      13. com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:99)
      14. com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:185)
      15. com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean.syncCreateAndInvoke(BPELEngineBean.java:116)
      16. com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.__WL_invoke(Unknown Source)
      16 frames
    20. weblogic.ejb.container
      SessionLocalMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
      1 frame
    21. com.collaxa.cube
      DeliveryHandler.request
      1. com.collaxa.cube.engine.ejb.impl.bpel.BPELEngineBean_uhguq6_ICubeEngineLocalBeanImpl.syncCreateAndInvoke(Unknown Source)
      2. com.collaxa.cube.engine.delivery.DeliveryHandler.callCreateAndInvoke(DeliveryHandler.java:947)
      3. com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:659)
      4. com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:275)
      5. com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:1095)
      5 frames
    22. oracle.fabric
      CubeServiceEngine.request
      1. oracle.fabric.CubeServiceEngine.request(CubeServiceEngine.java:646)
      1 frame
    23. oracle.integration.platform
      MeshImpl$3.run
      1. oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
      2. oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:215)
      3. oracle.integration.platform.blocks.mesh.MeshImpl$3.run(MeshImpl.java:344)
      4. oracle.integration.platform.blocks.mesh.MeshImpl$3.run(MeshImpl.java:342)
      4 frames
    24. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    25. oracle.integration.platform
      MeshImpl.request
      1. oracle.integration.platform.blocks.mesh.MeshImpl.doRequestAsSubject(MeshImpl.java:342)
      2. oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:281)
      2 frames
    26. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1379.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    27. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    28. oracle.integration.platform
      PhaseEventAspect.invoke
      1. oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:57)
      1 frame
    29. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    30. com.sun.proxy
      $Proxy382.request
      1. com.sun.proxy.$Proxy382.request(Unknown Source)
      1 frame
    31. oracle.integration.platform
      MeshImpl$3.run
      1. oracle.integration.platform.blocks.local.BaseInvocationProcessor.request(BaseInvocationProcessor.java:318)
      2. oracle.integration.platform.blocks.soap.WebServiceExternalBindingComponent.request(WebServiceExternalBindingComponent.java:951)
      3. oracle.integration.platform.blocks.mesh.SynchronousMessageHandler.doRequest(SynchronousMessageHandler.java:151)
      4. oracle.integration.platform.blocks.mesh.MessageRouter.request(MessageRouter.java:215)
      5. oracle.integration.platform.blocks.mesh.MeshImpl$3.run(MeshImpl.java:344)
      6. oracle.integration.platform.blocks.mesh.MeshImpl$3.run(MeshImpl.java:342)
      6 frames
    32. Java RT
      Subject.doAs
      1. java.security.AccessController.doPrivileged(Native Method)
      2. javax.security.auth.Subject.doAs(Subject.java:422)
      2 frames
    33. oracle.integration.platform
      MeshImpl.request
      1. oracle.integration.platform.blocks.mesh.MeshImpl.doRequestAsSubject(MeshImpl.java:342)
      2. oracle.integration.platform.blocks.mesh.MeshImpl.request(MeshImpl.java:281)
      2 frames
    34. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor1379.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:498)
      3 frames
    35. Spring AOP
      ReflectiveMethodInvocation.proceed
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:318)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
      3 frames
    36. oracle.integration.platform
      PhaseEventAspect.invoke
      1. oracle.integration.platform.metrics.PhaseEventAspect.invoke(PhaseEventAspect.java:69)
      1 frame
    37. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
      2. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202)
      2 frames
    38. com.sun.proxy
      $Proxy382.request
      1. com.sun.proxy.$Proxy382.request(Unknown Source)
      1 frame
    39. oracle.fabric
      CubeServiceEngine.requestToMesh
      1. oracle.fabric.CubeServiceEngine.requestToMesh(CubeServiceEngine.java:1143)
      1 frame
    40. com.collaxa.cube
      BaseBPELActivityWMP$1.call
      1. com.collaxa.cube.ws.WSInvocationManager.invoke0(WSInvocationManager.java:262)
      2. com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:332)
      3. com.collaxa.cube.engine.ext.common.InvokeHandler.__invoke(InvokeHandler.java:1460)
      4. com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalWSDLInvoke(InvokeHandler.java:806)
      5. com.collaxa.cube.engine.ext.common.InvokeHandler.handleNormalInvoke(InvokeHandler.java:497)
      6. com.collaxa.cube.engine.ext.common.InvokeHandler.handle(InvokeHandler.java:158)
      7. com.collaxa.cube.engine.ext.bpel.common.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:78)
      8. com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:197)
      9. com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP$1.call(BaseBPELActivityWMP.java:195)
      9 frames
    41. com.collaxa.bpel
      SWSComponentProcessActivityWrapper.execute
      1. com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper$1.call(SWSComponentProcessActivityWrapper.java:74)
      2. com.collaxa.bpel.sws.SWSCallableActivityWrapper.execute(SWSCallableActivityWrapper.java:89)
      3. com.collaxa.bpel.sws.SWSComponentProcessActivityWrapper.execute(SWSComponentProcessActivityWrapper.java:82)
      3 frames
    42. com.collaxa.cube
      CubeEngineSecurityManager$2.run
      1. com.collaxa.cube.engine.ext.bpel.common.wmp.BaseBPELActivityWMP.perform(BaseBPELActivityWMP.java:205)
      2. com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:2909)
      3. com.collaxa.cube.engine.CubeEngine._handleWorkItem(CubeEngine.java:1276)
      4. com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1165)
      5. com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:92)
      6. com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:300)
      7. com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:379)
      8. com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4935)
      9. com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:4859)
      10. com.collaxa.cube.engine.CubeEngine._createAndInvoke(CubeEngine.java:763)
      11. com.collaxa.cube.engine.CubeEngineSecurityManager$2.run(CubeEngineSecurityManager.java:89)
      11 frames
    43. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    44. oracle.security.jps
      CascadeActionExecutor$SubjectPrivilegedExceptionAction.run
      1. oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      2. oracle.security.jps.internal.jaas.AccActionExecutor.execute(AccActionExecutor.java:70)
      3. oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:266)
      4. oracle.security.jps.internal.jaas.CascadeActionExecutor$SubjectPrivilegedExceptionAction.run(CascadeActionExecutor.java:82)
      4 frames
    45. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:368)
      1 frame
    46. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:163)
      1 frame
    47. weblogic.security
      Security.runAs
      1. weblogic.security.Security.runAs(Security.java:61)
      1 frame
    48. oracle.security.jps
      AbstractSubjectSecurity$ActionExecutorWrapper.execute
      1. oracle.security.jps.wls.jaas.WlsActionExecutor.execute(WlsActionExecutor.java:50)
      2. oracle.security.jps.internal.jaas.CascadeActionExecutor.execute(CascadeActionExecutor.java:55)
      3. oracle.security.jps.internal.jaas.AbstractSubjectSecurity$ActionExecutorWrapper.execute(AbstractSubjectSecurity.java:266)
      3 frames
    49. com.collaxa.cube
      BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke
      1. com.collaxa.cube.engine.CubeEngineSecurityManager.performActionAsSubject(CubeEngineSecurityManager.java:67)
      2. com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:596)
      3. com.collaxa.cube.engine.delivery.DeliveryService.handleInvoke(DeliveryService.java:732)
      4. com.collaxa.cube.engine.ejb.impl.CubeDeliveryBean.handleInvoke(CubeDeliveryBean.java:467)
      5. com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.__WL_invoke(Unknown Source)
      5 frames
    50. weblogic.ejb.container
      SessionLocalMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionLocalMethodInvoker.invoke(SessionLocalMethodInvoker.java:33)
      1 frame
    51. com.collaxa.cube
      WMExecutor$W.run
      1. com.collaxa.cube.engine.ejb.impl.bpel.BPELDeliveryBean_5k948i_ICubeDeliveryLocalBeanImpl.handleInvoke(Unknown Source)
      2. com.collaxa.cube.engine.dispatch.message.invoke.InvokeInstanceMessageHandler.handle(InvokeInstanceMessageHandler.java:43)
      3. com.collaxa.cube.engine.dispatch.DispatchHelper.handleMessage(DispatchHelper.java:154)
      4. com.collaxa.cube.engine.dispatch.BaseDispatchTask.process(BaseDispatchTask.java:150)
      5. com.collaxa.cube.engine.dispatch.BaseDispatchTask.run(BaseDispatchTask.java:90)
      6. com.collaxa.cube.engine.dispatch.WMExecutor$W.run(WMExecutor.java:236)
      6 frames
    52. weblogic.work.j2ee
      J2EEWorkManager$WorkWithListener.run
      1. weblogic.work.j2ee.J2EEWorkManager$WorkWithListener.run(J2EEWorkManager.java:209)
      1 frame
    53. weblogic.invocation
      ComponentInvocationContextManager.runAs
      1. weblogic.invocation.ComponentInvocationContextManager._runAs(ComponentInvocationContextManager.java:348)
      2. weblogic.invocation.ComponentInvocationContextManager.runAs(ComponentInvocationContextManager.java:333)
      2 frames
    54. weblogic.work
      ExecuteThread.run
      1. weblogic.work.LivePartitionUtility.doRunWorkUnderContext(LivePartitionUtility.java:54)
      2. weblogic.work.PartitionUtility.runWorkUnderContext(PartitionUtility.java:41)
      3. weblogic.work.SelfTuningWorkManagerImpl.runWorkUnderContext(SelfTuningWorkManagerImpl.java:640)
      4. weblogic.work.ExecuteThread.execute(ExecuteThread.java:406)
      5. weblogic.work.ExecuteThread.run(ExecuteThread.java:346)
      5 frames