java.lang.RuntimeException: java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object

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 Ecosystem JIRA by Michael Tokar, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object
via Atlassian JIRA by Michael Tokar, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object
via atlassian.com by Unknown author, 2 years ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object
via Atlassian JIRA by Michael Tokar, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object
via Ecosystem JIRA by Jonathan Nolen, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object
via Atlassian JIRA by Penny Wyatt, 1 year ago
java.security.spec.InvalidKeySpecException: java.lang.ClassCastException: org.bouncycastle.asn1.DERInteger cannot be cast to org.bouncycastle.asn1.ASN1Sequence
java.lang.RuntimeException: java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object
at com.atlassian.security.auth.trustedapps.ListApplicationRetriever.getApplicationProtocolV0(ListApplicationRetriever.java:90)
at com.atlassian.security.auth.trustedapps.ListApplicationRetriever.getApplicationProtocolV1(ListApplicationRetriever.java:49)
at com.atlassian.security.auth.trustedapps.ListApplicationRetriever.getApplication(ListApplicationRetriever.java:43)
at com.atlassian.security.auth.trustedapps.ReaderApplicationRetriever.getApplication(ReaderApplicationRetriever.java:27)
at com.atlassian.security.auth.trustedapps.URLApplicationRetriever.getApplication(URLApplicationRetriever.java:40)
at com.atlassian.security.auth.trustedapps.BaseEncryptionProvider.getApplicationCertificate(BaseEncryptionProvider.java:12)
at com.atlassian.jira.web.action.admin.trustedapps.ViewTrustedApplications.requestTrustedApplication(ViewTrustedApplications.java:133)
at com.atlassian.jira.web.action.admin.trustedapps.ViewTrustedApplications.doRequest(ViewTrustedApplications.java:77)

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.