java.lang.NullPointerException

Attempt to invoke virtual method 'void com.fsck.k9.view.MessageHeader.showSubjectLine()' on a null object reference


Solutions on the web21569

Solution icon of github
Attempt to invoke virtual method 'void com.fsck.k9.view.MessageHeader.showSubjectLine()' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'com.fsck.k9.Account com.fsck.k9.mailstore.LocalMessage.getAccount()' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'java.util.List com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(java.lang.String, boolean, com.fsck.k9.mail.store.ImapStore$UntaggedHandler)' on a null object reference

Solution icon of github
via GitHub by Rocco83
, 1 year ago
Attempt to invoke virtual method 'java.util.List com.fsck.k9.mail.store.ImapStore$ImapConnection.executeSimpleCommand(java.lang.String, boolean, com.fsck.k9.mail.store.ImapStore$UntaggedHandler)' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'boolean com.fsck.k9.Account.hasDraftsFolder()' on a null object reference

Solution icon of web
via issuehub.io by Unknown author, 1 year ago
Attempt to invoke virtual method 'java.lang.String com.fsck.k9.Account.getUuid()' on a null object reference

Solution icon of github
Attempt to invoke virtual method 'java.lang.String com.fsck.k9.Account.getUuid()' on a null object reference

Solution icon of coderanch
via Coderanch by L Vasquez, 7 months ago
Attempt to invoke virtual method 'void java.util.ArrayList.add(int, java.lang.Object)' on a null object reference

Solution icon of bugzilla
Attempt to invoke virtual method 'void com.android.internal.widget.ScrollingTabContainerView$TabView.update()' on a null object reference

Solution icon of github
via GitHub by mfietz
, 1 year ago
Attempt to invoke virtual method 'void de.danoeh.antennapod.core.cast.SwitchableMediaRouteActionProvider.setRouteSelector(android.support.v7.media.MediaRouteSelector)' on a null object reference

Stack trace

  • java.lang.NullPointerException: Attempt to invoke virtual method 'void com.fsck.k9.view.MessageHeader.showSubjectLine()' on a null object reference at com.fsck.k9.view.MessageTitleView.showSubjectInMessageHeader(MessageTitleView.java:67) at com.fsck.k9.activity.MessageList.displayMessageSubject(MessageList.java:1439) at com.fsck.k9.ui.messageview.MessageViewFragment.displayMessageSubject(MessageViewFragment.java:478) at com.fsck.k9.ui.messageview.MessageViewFragment.displayHeaderForLoadingMessage(MessageViewFragment.java:249) at com.fsck.k9.ui.messageview.MessageViewFragment.access$400(MessageViewFragment.java:55) at com.fsck.k9.ui.messageview.MessageViewFragment$5.onMessageDataLoadFinished(MessageViewFragment.java:718) at com.fsck.k9.activity.MessageLoaderHelper.onLoadMessageFromDatabaseFinished(MessageLoaderHelper.java:196) at com.fsck.k9.activity.MessageLoaderHelper.access$500(MessageLoaderHelper.java:69) at com.fsck.k9.activity.MessageLoaderHelper$1.onLoadFinished(MessageLoaderHelper.java:244) at com.fsck.k9.activity.MessageLoaderHelper$1.onLoadFinished(MessageLoaderHelper.java:224) at android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:488) at android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:456) at android.content.Loader.deliverResult(Loader.java:144) at com.fsck.k9.ui.message.LocalMessageLoader.deliverResult(LocalMessageLoader.java:44) at com.fsck.k9.ui.message.LocalMessageLoader.deliverResult(LocalMessageLoader.java:16) at android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265) at android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92) at android.os.AsyncTask.finish(AsyncTask.java:636) at android.os.AsyncTask.access$500(AsyncTask.java:177) at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653) at android.os.Handler.dispatchMessage(Handler.java:111) at android.os.Looper.loop(Looper.java:194) at android.app.ActivityThread.main(ActivityThread.java:5624) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)

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.