闪退的时候会报下面的log见附件:
手机app闪退时一定会打印出该空指针异常的log:
08-30 11:06:32.032 1517 5965 E OplusTrack-ApkInfoUtil: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.os.Bundle.get(java.lang.String)' on a null object reference
08-30 11:06:32.033 1517 5965 W System.err: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Object android.os.Bundle.get(java.lang.String)' on a null object reference
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.h.b.d(ApkInfoUtil.java:136)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.b.b.a(TrackEvent.java:141)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.b.b.<init>(TrackEvent.java:47)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.b.a.<init>(CommonBean.java:37)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.a(OplusTrack.java:223)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.e.a.a$a.a(AppLaunchEventRecorder.java:143)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.e.a.a$a.a(AppLaunchEventRecorder.java:102)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.e.a.-$$Lambda$2fHLmT8JZlr5OzkT2xnqiCVdLEk.onAppSwitch(Unknown Source:2)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.b.a(AppSwitchMonitor.java:97)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.b.lambda$yF2sSrETF4wpk07pjuI1ubPVnB8(Unknown Source:0)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.-$$Lambda$b$yF2sSrETF4wpk07pjuI1ubPVnB8.accept(Unknown Source:4)
08-30 11:06:32.033 1517 5965 W System.err: at java.util.concurrent.CopyOnWriteArrayList.forEach(CopyOnWriteArrayList.java:832)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.b.b(AppSwitchMonitor.java:97)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.b.lambda$fX4Hi7f3z5t3AW9aa0q-E6iGF5w(Unknown Source:0)
08-30 11:06:32.033 1517 5965 W System.err: at com.oplus.statistics.c.-$$Lambda$b$fX4Hi7f3z5t3AW9aa0q-E6iGF5w.run(Unknown Source:4)
08-30 11:06:32.033 1517 5965 W System.err: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
08-30 11:06:32.033 1517 5965 W System.err: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
08-30 11:06:32.033 1517 5965 W System.err: at java.lang.Thread.run(Thread.java:923)