java.security.InvalidAlgorithmParameterException: Key format must be RAW

Oracle Community | 1033122 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    java.security.InvalidAlgorithmParameterException: Key format must be RAW

    Oracle Community | 7 months ago | 1033122
    java.security.InvalidAlgorithmParameterException: Key format must be RAW

    Root Cause Analysis

    1. java.security.InvalidAlgorithmParameterException

      Key format must be RAW

      at com.sun.crypto.provider.TlsMasterSecretGenerator.engineInit()
    2. com.sun.crypto
      TlsMasterSecretGenerator.engineInit
      1. com.sun.crypto.provider.TlsMasterSecretGenerator.engineInit(TlsMasterSecretGenerator.java:49)
      1 frame
    3. Android Platform
      KeyGenerator.init
      1. javax.crypto.KeyGenerator.init(KeyGenerator.java:406)
      2. javax.crypto.KeyGenerator.init(KeyGenerator.java:383)
      2 frames
    4. Java JSSE
      SSLSocketImpl.startHandshake
      1. com.sun.net.ssl.internal.ssl.Handshaker.calculateMasterSecret(Handshaker.java:984)
      2. com.sun.net.ssl.internal.ssl.Handshaker.calculateKeys(Handshaker.java:948)
      3. com.sun.net.ssl.internal.ssl.ClientHandshaker.serverHelloDone(ClientHandshaker.java:957)
      4. com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:287)
      5. com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Handshaker.java:818)
      6. com.sun.net.ssl.internal.ssl.Handshaker.process_record(Handshaker.java:753)
      7. com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:989)
      8. com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1296)
      9. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1322)
      10. com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1307)
      10 frames
    5. Apache HttpClient
      CloseableHttpClient.execute
      1. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:533)
      2. org.apache.http.conn.ssl.SSLSocketFactory.connectSocket(SSLSocketFactory.java:401)
      3. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:178)
      4. org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:310)
      5. org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:611)
      6. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:446)
      7. org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:863)
      8. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
      9. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:106)
      10. org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:57)
      10 frames
    6. Spring WS Core
      WebServiceTemplate.sendSourceAndReceiveToResult
      1. org.springframework.ws.transport.http.HttpComponentsConnection.onSendAfterWrite(HttpComponentsConnection.java:121)
      2. org.springframework.ws.transport.AbstractWebServiceConnection.send(AbstractWebServiceConnection.java:49)
      3. org.springframework.ws.client.core.WebServiceTemplate.sendRequest(WebServiceTemplate.java:659)
      4. org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:606)
      5. org.springframework.ws.client.core.WebServiceTemplate.sendAndReceive(WebServiceTemplate.java:555)
      6. org.springframework.ws.client.core.WebServiceTemplate.doSendAndReceive(WebServiceTemplate.java:506)
      7. org.springframework.ws.client.core.WebServiceTemplate.sendSourceAndReceiveToResult(WebServiceTemplate.java:446)
      7 frames
    7. br.com.multiplusfidelidade
      ExecutarGatewayExternoProcess.execute
      1. br.com.multiplusfidelidade.util.AdapterClientWS.sendRequest(AdapterClientWS.java:67)
      2. br.com.multiplusfidelidade.flow.process.ExecutarGatewayExternoProcess.execute(ExecutarGatewayExternoProcess.java:65)
      2 frames
    8. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor164.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:597)
      3 frames
    9. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      4. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      6. org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58)
      7. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      8. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
      9. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      10. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      10 frames
    10. com.sun.proxy
      $Proxy203.execute
      1. com.sun.proxy.$Proxy203.execute(Unknown Source)
      1 frame
    11. br.com.multiplusfidelidade
      ServiceFlow.process
      1. br.com.multiplusfidelidade.flow.ServiceFlow.processFlow(ServiceFlow.java:89)
      2. br.com.multiplusfidelidade.flow.ServiceFlow.process(ServiceFlow.java:131)
      3. br.com.multiplusfidelidade.flow.ServiceFlow.process(ServiceFlow.java:119)
      3 frames
    12. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    13. Spring AOP
      JdkDynamicAopProxy.invoke
      1. org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)
      2. org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:190)
      3. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
      4. org.springframework.aop.framework.adapter.MethodBeforeAdviceInterceptor.invoke(MethodBeforeAdviceInterceptor.java:52)
      5. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      6. org.springframework.aop.aspectj.AspectJAfterThrowingAdvice.invoke(AspectJAfterThrowingAdvice.java:58)
      7. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      8. org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:92)
      9. org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
      10. org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:207)
      10 frames
    14. com.sun.proxy
      $Proxy199.process
      1. com.sun.proxy.$Proxy199.process(Unknown Source)
      1 frame
    15. br.com.multiplusfidelidade
      GatewayPagamentoBean.autorizarPagamento
      1. br.com.multiplusfidelidade.ejb.GatewayPagamentoBean.autorizarPagamento(GatewayPagamentoBean.java:116)
      1 frame
    16. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    17. com.bea.core
      ReflectiveMethodInvocation.proceed
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      3 frames
    18. com.oracle.pitchfork
      JeeInterceptorInterceptor.invoke
      1. com.oracle.pitchfork.intercept.MethodInvocationInvocationContext.proceed(MethodInvocationInvocationContext.java:103)
      2. com.oracle.pitchfork.intercept.JeeInterceptorInterceptor.invoke(JeeInterceptorInterceptor.java:71)
      2 frames
    19. com.bea.core
      ReflectiveMethodInvocation.proceed
      1. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      3. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      4. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4 frames
    20. com.oracle.pitchfork
      MethodInvocationVisitorImpl.visit
      1. com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
      1 frame
    21. weblogic.ejb.container
      EnvironmentInterceptorCallbackImpl.callback
      1. weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      1 frame
    22. com.oracle.pitchfork
      EnvironmentInterceptor.invoke
      1. com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
      1 frame
    23. com.bea.core
      JdkDynamicAopProxy.invoke
      1. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      7. com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      7 frames
    24. com.sun.proxy
      $Proxy146.autorizarPagamento
      1. com.sun.proxy.$Proxy146.autorizarPagamento(Unknown Source)
      1 frame
    25. br.com.multiplusfidelidade
      GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl.__WL_invoke
      1. br.com.multiplusfidelidade.ejb.GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl.__WL_invoke(Unknown Source)
      1 frame
    26. weblogic.ejb.container
      SessionRemoteMethodInvoker.invoke
      1. weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
      1 frame
    27. br.com.multiplusfidelidade
      GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl_WLSkel.invoke
      1. br.com.multiplusfidelidade.ejb.GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl.autorizarPagamento(Unknown Source)
      2. br.com.multiplusfidelidade.ejb.GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl_WLSkel.invoke(Unknown Source)
      2 frames
    28. weblogic.rmi.internal
      ServerRequest.sendReceive
      1. weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
      1 frame
    29. weblogic.rmi.cluster
      ClusterableRemoteRef.invoke
      1. weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:347)
      2. weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:261)
      2 frames
    30. br.com.multiplusfidelidade
      GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl_1036_WLStub.autorizarPagamento
      1. br.com.multiplusfidelidade.ejb.GatewayPagamentoBean_2pe2e4_GatewayPagamentoRemoteImpl_1036_WLStub.autorizarPagamento(Unknown Source)
      1 frame
    31. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    32. weblogic.ejb.container
      RemoteBusinessIntfProxy.invoke
      1. weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:89)
      1 frame
    33. com.sun.proxy
      $Proxy233.autorizarPagamento
      1. com.sun.proxy.$Proxy233.autorizarPagamento(Unknown Source)
      1 frame
    34. br.com.multiplusfidelidade
      AutorizarPagamentoFSPagtov1.autorizarPagamento
      1. br.com.multiplusfidelidade.ebs.v1.impl.AutorizarPagamentoFSPagtov1.callGatewayPayment(AutorizarPagamentoFSPagtov1.java:104)
      2. br.com.multiplusfidelidade.ebs.v1.impl.AutorizarPagamentoFSPagtov1.AutorizarPagamentoInterface1(AutorizarPagamentoFSPagtov1.java:72)
      3. br.com.multiplusfidelidade.ebs.v1.impl.AutorizarPagamentoFSPagtov1.autorizarPagamento(AutorizarPagamentoFSPagtov1.java:48)
      3 frames
    35. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:597)
      4 frames
    36. com.bea.core
      ReflectiveMethodInvocation.proceed
      1. com.bea.core.repackaged.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:310)
      2. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      6 frames
    37. com.oracle.pitchfork
      MethodInvocationVisitorImpl.visit
      1. com.oracle.pitchfork.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:34)
      1 frame
    38. weblogic.ejb.container
      EnvironmentInterceptorCallbackImpl.callback
      1. weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
      1 frame
    39. com.oracle.pitchfork
      EnvironmentInterceptor.invoke
      1. com.oracle.pitchfork.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:42)
      1 frame
    40. com.bea.core
      JdkDynamicAopProxy.invoke
      1. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      2. com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
      3. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      4. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      5. com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      6. com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      7. com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      7 frames
    41. com.sun.proxy
      $Proxy232.autorizarPagamento
      1. com.sun.proxy.$Proxy232.autorizarPagamento(Unknown Source)
      1 frame
    42. br.com.multiplusfidelidade
      AutorizarPagamentoFSPagtov1_lrg1j4_WSOImpl.__WL_invoke
      1. br.com.multiplusfidelidade.ebs.v1.impl.AutorizarPagamentoFSPagtov1_lrg1j4_WSOImpl.__WL_invoke(Unknown Source)
      1 frame
    43. weblogic.ejb.container
      WSOMethodInvoker.invoke
      1. weblogic.ejb.container.internal.WSOMethodInvoker.invoke(WSOMethodInvoker.java:22)
      1 frame
    44. br.com.multiplusfidelidade
      AutorizarPagamentoFSPagtov1_lrg1j4_WSOImpl.__WL_autorizarPagamento_WS
      1. br.com.multiplusfidelidade.ebs.v1.impl.AutorizarPagamentoFSPagtov1_lrg1j4_WSOImpl.__WL_autorizarPagamento_WS(Unknown Source)
      1 frame