com.fsck.k9.mail.MessagingException: Provided invalid part


Solutions on the web

Solution icon of github
via GitHub by leo-b
, 9 months ago
Provided invalid part

Solution icon of github
via GitHub by NTICompass
, 1 year ago
Provided invalid part: com.fsck.k9.mailstore.LocalBodyPart@86ec7f7

Stack trace

com.fsck.k9.mail.MessagingException: Provided invalid part
	at com.fsck.k9.mail.internet.MessageExtractor.getTextFromPart(MessageExtractor.java:60)
	at com.fsck.k9.crypto.MessageDecryptVerifier.isPartPgpInlineEncrypted(MessageDecryptVerifier.java:212)
	at com.fsck.k9.message.extractors.EncryptionDetector.containsInlinePgpEncryptedText(EncryptionDetector.java:34)
	at com.fsck.k9.message.extractors.EncryptionDetector.isEncrypted(EncryptionDetector.java:25)
	at com.fsck.k9.message.extractors.AttachmentCounter.getAttachmentCount(AttachmentCounter.java:28)
	at com.fsck.k9.mailstore.LocalFolder.saveMessage(LocalFolder.java:1295)
	at com.fsck.k9.mailstore.LocalFolder$15.doDbWork(LocalFolder.java:1223)
	at com.fsck.k9.mailstore.LocalFolder$15.doDbWork(LocalFolder.java:1218)
	at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275)
	at com.fsck.k9.mailstore.LocalFolder.appendMessages(LocalFolder.java:1218)
	at com.fsck.k9.mailstore.LocalFolder.appendMessages(LocalFolder.java:1145)
	at com.fsck.k9.controller.MessagingController.loadSearchResultsSynchronous(MessagingController.java:705)
	at com.fsck.k9.controller.MessagingController.searchRemoteMessagesSynchronous(MessagingController.java:632)
	at com.fsck.k9.controller.MessagingController$7.run(MessagingController.java:581)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423)
	at java.util.concurrent.FutureTask.run(FutureTask.java:237)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
	at java.lang.Thread.run(Thread.java:818)

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.