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


Solutions on the web7

Solution icon of atlassian
via Atlassian JIRA by Michael Tokar, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object

Solution icon of web
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object

Solution icon of atlassian
via Ecosystem JIRA by Michael Tokar, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object

Solution icon of atlassian
via Atlassian JIRA by Michael Tokar, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object

Solution icon of atlassian
via Ecosystem JIRA by Jonathan Nolen, 1 year ago
java.security.spec.InvalidKeySpecException: java.io.EOFException: EOF encountered in middle of object

Solution icon of atlassian
via Atlassian JIRA by Penny Wyatt [on leave until 31st May], 1 year ago
java.security.spec.InvalidKeySpecException: java.lang.ClassCastException: org.bouncycastle.asn1.DERInteger cannot be cast to org.bouncycastle.asn1.ASN1Sequence

Solution icon of atlassian
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

Stack trace

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)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.