java.lang.NullPointerException: Attempt to invoke virtual method 'long com.android.internal.telephony.SmsMessageBase.getTimestampMillis()' on a null object reference

JIRA | Collet A | 2 years 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. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      Attempt to invoke virtual method 'long com.android.internal.telephony.SmsMessageBase.getTimestampMillis()' on a null object reference

      at android.telephony.SmsMessage.getTimestampMillis()
    2. Android Platform
      SmsMessage.getTimestampMillis
      1. android.telephony.SmsMessage.getTimestampMillis(SmsMessage.java:625)
      1 frame
    3. Android
      InboundSmsHandler$DeliveringState.processMessage
      1. com.android.internal.telephony.InboundSmsHandler.notifyAndAcknowledgeLastIncomingSms(InboundSmsHandler.java:621)
      2. com.android.internal.telephony.InboundSmsHandler.handleNewSms(InboundSmsHandler.java:510)
      3. com.android.internal.telephony.InboundSmsHandler$DeliveringState.processMessage(InboundSmsHandler.java:397)
      3 frames
    4. Android Platform
      HandlerThread.run
      1. com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:966)
      2. com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:789)
      3. android.os.Handler.dispatchMessage(Handler.java:102)
      4. android.os.Looper.loop(Looper.java:135)
      5. android.os.HandlerThread.run(HandlerThread.java:61)
      5 frames