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

JIRA | Collet A | 1 year ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    How to setAlarmManager at Dialog fragment in android

    Stack Overflow | 6 months ago | opu
    java.lang.NullPointerException: Attempt to invoke virtual method 'void android.app.AlarmManager.setRepeating(int, long, long, android.app.PendingIntent)' 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 '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