1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
| 1-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: FATAL EXCEPTION: main
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: Process: com.example.simplicims, PID: 25204
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.example.simplicims/com.example.simplicims.MainActivity}: java.lang.NullPointerException
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3622)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3662)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2903)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6548)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:865)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: Caused by: java.lang.NullPointerException
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.nfc.NfcAdapter.enableForegroundDispatch(NfcAdapter.java:1319)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at com.example.simplicims.MainActivity.onResume(MainActivity.kt:49)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:7131)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3597)
11-29 18:02:02.509 10182 25204 25204 E AndroidRuntime: ... 10 more
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: FATAL EXCEPTION: main
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: Process: com.example.simplicims, PID: 25228
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: java.lang.RuntimeException: Unable to resume activity {com.example.simplicims/com.example.simplicims.MainActivity}: java.lang.NullPointerException
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3622)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3662)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2903)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread.-wrap11(Unknown Source:0)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1623)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.os.Looper.loop(Looper.java:164)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6548)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:865)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: Caused by: java.lang.NullPointerException
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.nfc.NfcAdapter.enableForegroundDispatch(NfcAdapter.java:1319)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at com.example.simplicims.MainActivity.onResume(MainActivity.kt:49)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1355)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.Activity.performResume(Activity.java:7131)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: at android.app.ActivityThread.performResumeActivity(ActivityThread.java:3597)
11-29 18:02:04.780 10182 25228 25228 E AndroidRuntime: ... 10 more |
Partager