android初始化闪退

guider 2年前 634次点击 来自 Android

#5927 03-05 23:52:58.205 22451 E AndroidRuntime FATAL EXCEPTION: main

#5928 03-05 23:52:58.205 22451 E AndroidRuntime Process: com.android.cbmanager, PID: 22451

#5929 03-05 23:52:58.205 22451 E AndroidRuntime java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.cbmanager/com.android.cbmanager.activity.StartACT}: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String java.io.File.getPath()’ on a null object reference

#5930 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2460)

#5931 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2524)

#5932 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.ActivityThread.access$800(ActivityThread.java:167)

#5933 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1417)

#5934 03-05 23:52:58.205 22451 E AndroidRuntime at android.os.Handler.dispatchMessage(Handler.java:111)

#5935 03-05 23:52:58.205 22451 E AndroidRuntime at android.os.Looper.loop(Looper.java:194)

#5936 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.ActivityThread.main(ActivityThread.java:5536)

#5937 03-05 23:52:58.205 22451 E AndroidRuntime at java.lang.reflect.Method.invoke(Native Method)

#5938 03-05 23:52:58.205 22451 E AndroidRuntime at java.lang.reflect.Method.invoke(Method.java:372)

#5939 03-05 23:52:58.205 22451 E AndroidRuntime at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:955)

#5940 03-05 23:52:58.205 22451 E AndroidRuntime at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:750)

#5941 03-05 23:52:58.205 22451 E AndroidRuntime Caused by: java.lang.NullPointerException: Attempt to invoke virtual method ‘java.lang.String java.io.File.getPath()’ on a null object reference

#5942 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.common.http.j.a(SourceFile:60)

#5943 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.common.http.j.(SourceFile:43)

#5944 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.common.http.j.(SourceFile:35)

#5945 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.common.http.n.(SourceFile:88)

#5946 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.common.http.k.(SourceFile:24)

#5947 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.common.http.k.a(SourceFile:51)

#5948 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.MLink.getDPLs(SourceFile:548)

#5949 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.MLink.getDPLs(SourceFile:552)

#5950 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.MLink.onReferral(SourceFile:258)

#5951 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.MLink.(SourceFile:70)

#5952 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.MLink.getInstance(SourceFile:75)

#5953 03-05 23:52:58.205 22451 E AndroidRuntime at com.zxinsight.MagicWindowSDK.initSDK(SourceFile:53)

#5954 03-05 23:52:58.205 22451 E AndroidRuntime at com.android.cbmanager.activity.StartACT.initMW(StartACT.java:127)

#5955 03-05 23:52:58.205 22451 E AndroidRuntime at com.android.cbmanager.activity.StartACT.onCreate(StartACT.java:108)

#5956 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.Activity.performCreate(Activity.java:5971)

#5957 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)

#5958 03-05 23:52:58.205 22451 E AndroidRuntime at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2413)

1 条回复

此问题在3.9.170110之后的版本已经修复。


魔窗, 移动互联网生态领导者