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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by obilodeau
, 1 year ago
org.apache.harmony.security.asn1.ASN1Exception: Wrong content for ASN.1 integer at [15]. An integer MUST be encoded in minimum number of octets
via Stack Overflow by Ori Lentz
, 1 year ago
org.apache.harmony.security.asn1.ASN1Exception: Wrong content for ASN.1 integer at [15]. An integer MUST be encoded in minimum number of octets
via GitHub by AlexCascadia
, 2 years ago
java.lang.RuntimeException: error:04091077:rsa routines:INT_RSA_VERIFY:wrong signature length (SHA-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(BerInputStream.java:445)
at org.apache.harmony.security.asn1.ASN1Integer.decode(ASN1Integer.java:63)
at org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
at org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
at org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
at org.apache.harmony.security.asn1.BerInputStream.readSequence(BerInputStream.java:554)
at org.apache.harmony.security.asn1.DerInputStream.readSequence(DerInputStream.java:105)
at org.apache.harmony.security.asn1.ASN1Sequence.decode(ASN1Sequence.java:40)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.verifyCertificateChain(OpenSSLSocketImpl.java:590)
at org.apache.harmony.xnet.provider.jsse.NativeCrypto.SSL_do_handshake(Native Method)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:378)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl$SSLInputStream.(OpenSSLSocketImpl.java:649)
at org.apache.harmony.xnet.provider.jsse.OpenSSLSocketImpl.getInputStream(OpenSSLSocketImpl.java:620)
at org.apache.http.impl.io.SocketInputBuffer.(SocketInputBuffer.java:70)
at org.apache.http.impl.SocketHttpClientConnection.bind(SocketHttpClientConnection.java:106)
at org.apache.http.impl.conn.DefaultClientConnection.openCompleted(DefaultClientConnection.java:129)
at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:172)
at org.apache.http.impl.conn.AbstractPoolEntry.open(AbstractPoolEntry.java:164)
at org.apache.http.impl.conn.AbstractPooledConnAdapter.open(AbstractPooledConnAdapter.java:119)
at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:360)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:670)
at org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:509)
at org.tomdroid.sync.web.WebConnection.execute(WebConnection.java:124)
at org.tomdroid.sync.web.AnonymousConnection.get(AnonymousConnection.java:42)
at org.tomdroid.sync.web.OAuthConnection.getAuthorizationUrl(OAuthConnection.java:131)
at org.tomdroid.sync.web.SnowySyncService$1.run(SnowySyncService.java:102)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
at java.lang.Thread.run(Thread.java:856)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.