app在切换网络后闪退!该如何解决呢!一筹莫展的么么哒!
错误日志如下:
10-27 10:04:17.677: E/GizSDKClientLog(24677): [SYS][ERROR][2016-10-27 10:04:17.684][Utils.java:720 openUrl][java.io.FileNotFoundException: https://m.baidu.com/error.jsp?tr ... 2735508214322736355]
10-27 10:04:19.817: E/GizSDKClientLog(25356): [SYS][ERROR][2016-10-27 10:04:19.824][MyCrashHandler.java:54 uncaughtException][捕获到一个crash..............]
10-27 10:04:19.827: E/GizSDKClientLog(25356): [SYS][ERROR][2016-10-27 10:04:19.837][MyCrashHandler.java:57 uncaughtException][捕获的错误信息java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jzdc.wifipower/com.jzdc.wifipower.framwork.activity.device.DeviceListActivity}: java.lang.NullPointerException]
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.app.ActivityThread.access$900(ActivityThread.java:148)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.os.Handler.dispatchMessage(Handler.java:99)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.os.Looper.loop(Looper.java:137)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at android.app.ActivityThread.main(ActivityThread.java:5457)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at java.lang.reflect.Method.invokeNative(Native Method)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at java.lang.reflect.Method.invoke(Method.java:525)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:854)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
10-27 10:04:19.827: E/GizSDKClientLog(25356): at dalvik.system.Nat
10-27 10:04:19.837: E/GizSDKClientLog(25356): [SYS][CRASH][2016-10-27 10:04:19.842][MyCrashHandler.java:59 uncaughtException][捕获的错误信息java.lang.RuntimeException: Unable to start activity ComponentInfo{com.jzdc.wifipower/com.jzdc.wifipower.framwork.activity.device.DeviceListActivity}: java.lang.NullPointerException]
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.app.ActivityThread.access$900(ActivityThread.java:148)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1319)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.os.Handler.dispatchMessage(Handler.java:99)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.os.Looper.loop(Looper.java:137)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at android.app.ActivityThread.main(ActivityThread.java:5457)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at java.lang.reflect.Method.invokeNative(Native Method)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at java.lang.reflect.Method.invoke(Method.java:525)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:854)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:670)
10-27 10:04:19.837: E/GizSDKClientLog(25356): at dalvik.system.Nat
10-27 10:04:19.847: E/GizSDKClientLog(25356): [SYS][ERROR][2016-10-27 10:04:19.859][MyCrashHandler.java:61 uncaughtException][main]
10-27 10:04:19.847: E/GizSDKClientLog(25356): [SYS][CRASH][2016-10-27 10:04:19.859][MyCrashHandler.java:164 handleException][Unable to start activity ComponentInfo{com.jzdc.wifipower/com.jzdc.wifipower.framwork.activity.device.DeviceListActivity}: java.lang.NullPointerException]