java.io.EOFException: truncated subpacket data.

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

java.io.EOFException: truncated subpacket data.
at org.bouncycastle.bcpg.SignatureSubpacketInputStream.readPacket(SignatureSubpacketInputStream.java:116)
at org.bouncycastle.bcpg.SignaturePacket.(SignaturePacket.java:76)
at org.bouncycastle.bcpg.BCPGInputStream.readPacket(BCPGInputStream.java:230)
at org.bouncycastle.openpgp.PGPKeyRing.readSignaturesAndTrust(PGPKeyRing.java:53)
at org.bouncycastle.openpgp.PGPKeyRing.readUserIDs(PGPKeyRing.java:91)
at org.bouncycastle.openpgp.PGPPublicKeyRing.(PGPPublicKeyRing.java:76)
at org.sufficientlysecure.keychain.pgp.UncachedKeyRing$2.cacheNext(UncachedKeyRing.java:191)
at org.sufficientlysecure.keychain.pgp.UncachedKeyRing$2.hasNext(UncachedKeyRing.java:212)
at org.sufficientlysecure.keychain.pgp.UncachedKeyRing.decodeFromData(UncachedKeyRing.java:155)
at org.sufficientlysecure.keychain.operations.ImportOperation.serialKeyRingImport(ImportOperation.java:209)
at org.sufficientlysecure.keychain.operations.ImportOperation.access$000(ImportOperation.java:84)
at org.sufficientlysecure.keychain.operations.ImportOperation$1.call(ImportOperation.java:490)
at org.sufficientlysecure.keychain.operations.ImportOperation$1.call(ImportOperation.java:478)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
at java.lang.Thread.run(Thread.java:818)

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.

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