lube / nfc-react-native

69 stars 35 forks source link

Attempt to invoke virtual method 'boolean android.nfc.Tag.hasTech(int)' on a null object reference get MifareClassic.java:136 #17

Open njho opened 6 years ago

njho commented 6 years ago

Curious if anyone else is receiving this error, or if it's something that is wrong with my Android build.

Attempt to invoke virtual method 'boolean android.nfc.Tag.hasTech(int)' on a null object reference
get
    MifareClassic.java:136
handleIntent
    NfcReactNativeModule.java:231
onNewIntent
    NfcReactNativeModule.java:248
onNewIntent
    ReactContext.java:197
onNewIntent
    ReactInstanceManager.java:522
onNewIntent
    NavigationReactGateway.java:79
fakeOnNewIntentForLinkingModule
    IntentDataHandler.java:48
onPostResume
    IntentDataHandler.java:32
onResume
    NavigationActivity.java:123
callActivityOnResume
    Instrumentation.java:1269
performResume
    Activity.java:6766
performResumeActivity
    ActivityThread.java:3377
handleResumeActivity
    ActivityThread.java:3440
handleLaunchActivity
    ActivityThread.java:2713
-wrap12
    ActivityThread.java
handleMessage
    ActivityThread.java:1460
dispatchMessage
    Handler.java:102
loop
    Looper.java:154
main
    ActivityThread.java:6077
invoke
    Method.java
run
    ZygoteInit.java:866
main
    ZygoteInit.java:756