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

GitHub | cketti | 4 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Crash: NPE in MessageTitleView.showSubjectInMessageHeader()

    GitHub | 4 months ago | cketti
    java.lang.NullPointerException: Attempt to invoke virtual method 'void com.fsck.k9.view.MessageHeader.showSubjectLine()' on a null object reference
  2. 0

    NPE/Null object reference crash when attempting to decode certain messages

    GitHub | 1 year ago | vt0r
    java.lang.NullPointerException: Attempt to read from field 'com.fsck.k9.mail.Message com.fsck.k9.mailstore.MessageViewInfo.message' on a null object reference
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 916#200301621

    GitHub | 1 year ago | philipwhiuk
    java.lang.NullPointerException: Attempt to read from field 'com.fsck.k9.mail.Message com.fsck.k9.mailstore.MessageViewInfo.message' on a null object reference
  5. 0

    GitHub comment 588#150813061

    GitHub | 2 years ago | Manko10
    java.lang.NullPointerException: Attempt to invoke virtual method 'int org.openintents.openpgp.OpenPgpSignatureResult.getResult()' on a null object reference

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. 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()
    2. com.fsck.k9
      MessageLoaderHelper$1.onLoadFinished
      1. com.fsck.k9.view.MessageTitleView.showSubjectInMessageHeader(MessageTitleView.java:67)
      2. com.fsck.k9.activity.MessageList.displayMessageSubject(MessageList.java:1439)
      3. com.fsck.k9.ui.messageview.MessageViewFragment.displayMessageSubject(MessageViewFragment.java:478)
      4. com.fsck.k9.ui.messageview.MessageViewFragment.displayHeaderForLoadingMessage(MessageViewFragment.java:249)
      5. com.fsck.k9.ui.messageview.MessageViewFragment.access$400(MessageViewFragment.java:55)
      6. com.fsck.k9.ui.messageview.MessageViewFragment$5.onMessageDataLoadFinished(MessageViewFragment.java:718)
      7. com.fsck.k9.activity.MessageLoaderHelper.onLoadMessageFromDatabaseFinished(MessageLoaderHelper.java:196)
      8. com.fsck.k9.activity.MessageLoaderHelper.access$500(MessageLoaderHelper.java:69)
      9. com.fsck.k9.activity.MessageLoaderHelper$1.onLoadFinished(MessageLoaderHelper.java:244)
      10. com.fsck.k9.activity.MessageLoaderHelper$1.onLoadFinished(MessageLoaderHelper.java:224)
      10 frames
    3. Android Platform
      Loader.deliverResult
      1. android.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:488)
      2. android.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:456)
      3. android.content.Loader.deliverResult(Loader.java:144)
      3 frames
    4. com.fsck.k9
      LocalMessageLoader.deliverResult
      1. com.fsck.k9.ui.message.LocalMessageLoader.deliverResult(LocalMessageLoader.java:44)
      2. com.fsck.k9.ui.message.LocalMessageLoader.deliverResult(LocalMessageLoader.java:16)
      2 frames
    5. Android Platform
      ActivityThread.main
      1. android.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:265)
      2. android.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:92)
      3. android.os.AsyncTask.finish(AsyncTask.java:636)
      4. android.os.AsyncTask.access$500(AsyncTask.java:177)
      5. android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
      6. android.os.Handler.dispatchMessage(Handler.java:111)
      7. android.os.Looper.loop(Looper.java:194)
      8. android.app.ActivityThread.main(ActivityThread.java:5624)
      8 frames
    6. Java RT
      Method.invoke
      1. java.lang.reflect.Method.invoke(Native Method)
      2. java.lang.reflect.Method.invoke(Method.java:372)
      2 frames
    7. Android
      ZygoteInit.main
      1. com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
      2. com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)
      2 frames