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 GitHub by ashimokawa
, 1 year ago
Attempt to invoke virtual method 'com.fsck.k9.Account com.fsck.k9.mailstore.LocalMessage.getAccount()' on a null object reference
java.lang.NullPointerException: Attempt to invoke virtual method 'com.fsck.k9.Account com.fsck.k9.mailstore.LocalMessage.getAccount()' on a null object reference	at com.fsck.k9.provider.MessageProvider$MesssageInfoHolderRetrieverListener.listLocalMessagesAddMessages(MessageProvider.java:939)	at com.fsck.k9.controller.MessagingController$6.messageFinished(MessagingController.java:534)	at com.fsck.k9.controller.MessagingController$6.messageFinished(MessagingController.java:520)	at com.fsck.k9.mailstore.LocalStore$13.doDbWork(LocalStore.java:610)	at com.fsck.k9.mailstore.LocalStore$13.doDbWork(LocalStore.java:596)	at com.fsck.k9.mailstore.LockableDatabase.execute(LockableDatabase.java:275)	at com.fsck.k9.mailstore.LocalStore.getMessages(LocalStore.java:596)	at com.fsck.k9.mailstore.LocalStore.searchForMessages(LocalStore.java:583)	at com.fsck.k9.controller.MessagingController.searchLocalMessagesSynchronous(MessagingController.java:548)	at com.fsck.k9.controller.MessagingController$5.run(MessagingController.java:500)	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)