java.lang.AssertionError: Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.

Oracle Community | 666705 | 10 years ago
  1. 0

    Can't read X509Certificate with newlines from K... | Oracle Community

    oracle.com | 1 year ago
    java.lang.AssertionError: Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
  2. 0

    Can't read X509Certificate with newlines from KeyInfo

    Oracle Community | 10 years ago | 666705
    java.lang.AssertionError: Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
  3. 0

    Error message: null java.lang.AssertionError: Unable to decode certificate

    Oracle Community | 7 years ago | 525514
    java.lang.AssertionError: Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error during building and running the test of jpf-core and jpf-aprop

    Google Groups | 6 years ago | Tino E.
    java.lang.AssertionError: difference too big
  6. 0

    Agent tests sporadically fail due to security exceptions

    https://bugzilla.redhat.com/bugzilla/ | 4 years ago | John Sanda
    java.lang.AssertionError: Failed to send command from agent1 to agent2: Command Response: isSuccessful=[false]; command=[null]; results=[null]; exception=[org.jboss.remoting.CannotConnectException:Can not get connection to server. Problem establishing socket connection for InvokerLocator [sslsocket://127.0.0.1:60003/] -> java.lang.reflect.InvocationTargetException:null -> javax.net.ssl.SSLHandshakeException:sun.security.validator.ValidatorException: No trusted certificate found -> sun.security.validator.ValidatorException:No trusted certificate found]

    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. java.lang.AssertionError

      Unable to decode certificate: java.security.cert.CertificateException: Could not parse certificate: java.io.IOException: DerInputStream.getLength(): lengthTag=127, too big.

      at weblogic.xml.crypto.utils.CertUtils.getCertificate()
    2. weblogic.xml.crypto
      XMLSignatureFactoryImpl.unmarshalXMLSignature
      1. weblogic.xml.crypto.utils.CertUtils.getCertificate(CertUtils.java:37)
      2. weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.readX509Certificate(X509DataImpl.java:187)
      3. weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.readContentElement(X509DataImpl.java:164)
      4. weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.read(X509DataImpl.java:91)
      5. weblogic.xml.crypto.dsig.keyinfo.X509DataImpl.newKeyInfoObject(X509DataImpl.java:224)
      6. weblogic.xml.crypto.dsig.keyinfo.KeyInfoObjectBase.readKeyInfoObject(KeyInfoObjectBase.java:52)
      7. weblogic.xml.crypto.dsig.keyinfo.KeyInfoImpl.read(KeyInfoImpl.java:118)
      8. weblogic.xml.crypto.dsig.XMLSignatureImpl.unmarshal(XMLSignatureImpl.java:294)
      9. weblogic.xml.crypto.dsig.XMLSignatureImpl.<init>(XMLSignatureImpl.java:93)
      10. weblogic.xml.crypto.dsig.XMLSignatureFactoryImpl.unmarshalXMLSignature(XMLSignatureFactoryImpl.java:144)
      10 frames
    3. OpenSAML-J
      SAMLSignedObject.verify
      1. org.opensaml.SAMLSignedObject.verify(SAMLSignedObject.java:413)
      2. org.opensaml.SAMLSignedObject.verify(SAMLSignedObject.java:375)
      2 frames
    4. weblogic.security.providers
      SAMLIdentityAsserterProviderImpl.assertIdentity
      1. weblogic.security.providers.saml.SAMLAssert.verifySignature(SAMLAssert.java:724)
      2. weblogic.security.providers.saml.SAMLAssert.assertToken(SAMLAssert.java:199)
      3. weblogic.security.providers.saml.SAMLAssert.assertToken(SAMLAssert.java:135)
      4. weblogic.security.providers.saml.SAMLIdentityAsserterProviderImpl.assertIdentity(SAMLIdentityAsserterProviderImpl.java:270)
      4 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    6. com.bea.common
      Delegator$ProxyInvocationHandler.invoke
      1. com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
      1 frame
    7. Unknown
      $Proxy23.assertIdentity
      1. $Proxy23.assertIdentity(Unknown Source)
      1 frame
    8. com.bea.common
      IdentityAssertionTokenServiceImpl.assertIdentity
      1. com.bea.common.security.internal.service.IdentityAssertionTokenServiceImpl.assertIdentity(IdentityAssertionTokenServiceImpl.java:90)
      1 frame
    9. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor64.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    10. com.bea.common
      Delegator$ProxyInvocationHandler.invoke
      1. com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
      1 frame
    11. Unknown
      $Proxy24.assertIdentity
      1. $Proxy24.assertIdentity(Unknown Source)
      1 frame
    12. com.bea.common
      IdentityAssertionServiceImpl.assertIdentity
      1. com.bea.common.security.internal.service.IdentityAssertionServiceImpl.assertIdentity(IdentityAssertionServiceImpl.java:81)
      1 frame
    13. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      3. java.lang.reflect.Method.invoke(Method.java:585)
      3 frames
    14. com.bea.common
      Delegator$ProxyInvocationHandler.invoke
      1. com.bea.common.security.internal.utils.Delegator$ProxyInvocationHandler.invoke(Delegator.java:61)
      1 frame
    15. Unknown
      $Proxy25.assertIdentity
      1. $Proxy25.assertIdentity(Unknown Source)
      1 frame
    16. weblogic.security.service
      PrincipalAuthenticator.assertIdentity
      1. weblogic.security.service.PrincipalAuthenticator.assertIdentity(PrincipalAuthenticator.java:439)
      1 frame
    17. weblogic.wsee.security
      SAMLTokenHandler.validateUnmarshalled
      1. weblogic.wsee.security.saml.Utils.assertIdentity(Utils.java:243)
      2. weblogic.wsee.security.saml.SAMLTokenHandler.validateUnmarshalled(SAMLTokenHandler.java:231)
      2 frames
    18. weblogic.xml.crypto
      WSSecurityFactory.unmarshalAndProcessSecurity
      1. weblogic.xml.crypto.wss.SecurityImpl.unmarshalAndProcessSecurityToken(SecurityImpl.java:463)
      2. weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:381)
      3. weblogic.xml.crypto.wss.SecurityImpl.unmarshal(SecurityImpl.java:327)
      4. weblogic.xml.crypto.wss.api.WSSecurityFactory.unmarshalAndProcessSecurity(WSSecurityFactory.java:65)
      4 frames
    19. weblogic.wsee.security
      WssHandler.handleRequest
      1. weblogic.wsee.security.WssServerHandler.processRequest(WssServerHandler.java:35)
      2. weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:72)
      2 frames
    20. weblogic.wsee.handler
      HandlerIterator.handleRequest
      1. weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:127)
      1 frame
    21. weblogic.wsee.ws
      WsSkel.invoke
      1. weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:85)
      2. weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
      2 frames
    22. weblogic.wsee.server
      BaseWSServlet.service
      1. weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
      2. weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
      3. weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:165)
      4. weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:84)
      4 frames
    23. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
      1 frame
    24. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:225)
      2. weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:127)
      3. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
      4. weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
      5. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3214)
      5 frames
    25. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    26. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    27. Atmosphere weblogic
      ServletRequestImpl.run
      1. weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:1983)
      2. weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1890)
      3. weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1344)
      3 frames
    28. weblogic.work
      ExecuteThread.run
      1. weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
      2. weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
      2 frames