diff --git a/src/com/fsck/k9/controller/MessagingController.java b/src/com/fsck/k9/controller/MessagingController.java index 90f016437..0dd1efc97 100644 --- a/src/com/fsck/k9/controller/MessagingController.java +++ b/src/com/fsck/k9/controller/MessagingController.java @@ -5599,6 +5599,9 @@ public class MessagingController implements Runnable { Map>> accountMap = new HashMap>>(); for (Message message : messages) { + if ( message == null) { + continue; + } Folder folder = message.getFolder(); Account account = folder.getAccount();