java.lang.RuntimeException: org.apache.harmony.security.asn1.ASN1Exception: Wrong content for ASN.1 integer at [15]. An integer MUST be encoded in minimum number of octets

GitHub | obilodeau | 3 months ago
  1. 0

    Crash Reported on Google Play: org.apache.harmony.security.asn1.ASN1Exception

    GitHub | 3 months ago | obilodeau
    java.lang.RuntimeException: org.apache.harmony.security.asn1.ASN1Exception: Wrong content for ASN.1 integer at [15]. An integer MUST be encoded in minimum number of octets
  2. 0

    Unable to connect socket.io in node.js with tls

    Stack Overflow | 4 years ago | Javi
    org.apache.harmony.security.asn1.ASN1Exception: ASN.1 sequence identifier expected at [0], got 43

    Root Cause Analysis

    1. org.apache.harmony.security.asn1.ASN1Exception

      Wrong content for ASN.1 integer at [15]. An integer MUST be encoded in minimum number of octets

      at org.apache.harmony.security.asn1.BerInputStream.readInteger()
    2. Android
      ASN1Type.decode
      1. org.apache.harmony.security.asn1.BerInputStream.readInteger(BerInputStream.java:445)
      2. org.apache.harmony.security.asn1.ASN1Integer.decode(ASN1Integer.java:63)
      3. org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
      4. org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
      5. org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
      6. org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
      7. org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
      8. org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
      9. org.apache.harmony.security.asn1.ASN1Type.decode(ASN1Type.java:82)
      9 frames
    3. RoboVM
      X509CertImpl.<init>
      1. org.apache.harmony.security.provider.cert.X509CertImpl.<init>(X509CertImpl.java:128)
      1 frame
    4. org.apache.harmony
      OpenSSLSocketImpl.getInputStream
      1. org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:590)
      2. org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_do_handshake(Native Method)
      3. org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:378)
      4. org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.<init>(OpenSSLSocketImpl.java:649)
      5. org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:620)
      5 frames
    5. Apache Http
      SocketHttpClientConnection.createSessionInputBuffer
      1. org.apache.http.impl.io.SocketInputBuffer.<init>(SocketInputBuffer.java:70)
      2. org.apache.http.impl.SocketHttpClientConnection.createSessionInputBuffer(SocketHttpClientConnection.java:83)
      2 frames
    6. Apache HttpClient
      DefaultClientConnection.createSessionInputBuffer
      1. org.apache.http.impl.conn.DefaultClientConnection.createSessionInputBuffer(DefaultClientConnection.java:170)
      1 frame
    7. Apache Http
      SocketHttpClientConnection.bind
      1. org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java:106)
      1 frame
    8. Apache HttpClient
      AbstractHttpClient.execute
      1. org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java:129)
      2. org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:172)
      3. org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
      4. org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
      5. org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
      6. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670)
      7. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
      8. org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:487)
      8 frames
    9. org.tomdroid.sync
      SnowySyncService$1.run
      1. org.tomdroid.sync.web.WebConnection.execute(WebConnection.java:124)
      2. org.tomdroid.sync.web.AnonymousConnection.get(AnonymousConnection.java:42)
      3. org.tomdroid.sync.web.OAuthConnection.getAuthorizationUrl(OAuthConnection.java:131)
      4. org.tomdroid.sync.web.SnowySyncService$1.run(SnowySyncService.java:102)
      4 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
      3. java.lang.Thread.run(Thread.java:856)
      3 frames