java.lang.NullPointerException: Attempt to invoke virtual method 'short android.os.Bundle.getShort(java.lang.String)' on a null object reference

JIRA | Grzegorz Rajtar | 7 months ago
  1. 0

    Exception while reading card

    GitHub | 2 years ago | bacobart
    java.lang.NullPointerException: Attempt to invoke virtual method 'short android.os.Bundle.getShort(java.lang.String)' on a null object reference
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0
    Initialize the variable before calling a method on it.
  4. 0
    Use 'dialog' to access views from custom_layout layout.

    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 'short android.os.Bundle.getShort(java.lang.String)' on a null object reference

      at android.nfc.tech.NfcA.<init>()
    2. Android Platform
      NfcA.get
      1. android.nfc.tech.NfcA.<init>(NfcA.java:76)
      2. android.nfc.tech.NfcA.get(NfcA.java:62)
      2 frames
    3. at.mroland.android
      p.run
      1. at.mroland.android.b.h.m.<init>(Unknown Source)
      2. at.mroland.android.apps.nfctaginfo.p.run(Unknown Source)
      2 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:818)
      1 frame