|
板凳
楼主 |
发表于 2017-4-30 20:12:17
|
只看该作者
04-30 18:37:32.869 25630-25645/appkit.opensource.gizwits.com.myapplication W/art: Suspending all threads took: 32.903ms
04-30 18:37:32.929 25630-25630/appkit.opensource.gizwits.com.myapplication E/AndroidRuntime: FATAL EXCEPTION: main
Process: appkit.opensource.gizwits.com.myapplication, PID: 25630
java.lang.RuntimeException: Unable to start activity ComponentInfo{appkit.opensource.gizwits.com.myapplication/com.gizwits.opensource.appkit.UserModule.GosUserLoginActivity}: java.lang.ClassCastException: java.lang.String cannot be cast to org.json.JSONArray
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2365)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2434)
at android.app.ActivityThread.access$800(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1318)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5446)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:736)
Caused by: java.lang.ClassCastException: java.lang.String cannot be cast to org.json.JSONArray
at com.gizwits.opensource.appkit.CommonModule.GosDeploy.setMap(GosDeploy.java:532)
at com.gizwits.opensource.appkit.CommonModule.GosDeploy.readJSON(GosDeploy.java:514)
at com.gizwits.opensource.appkit.CommonModule.GosDeploy.<init>(GosDeploy.java:48)
at com.gizwits.opensource.appkit.MessageCenter.init(MessageCenter.java:29)
at com.gizwits.opensource.appkit.MessageCenter.<init>(MessageCenter.java:24)
at com.gizwits.opensource.appkit.MessageCenter.getInstance(MessageCenter.java:60)
at com.gizwits.opensource.appkit.CommonModule.GosBaseActivity.onCreate(GosBaseActivity.java:82)
at com.gizwits.opensource.appkit.UserModule.GosUserLoginActivity.onCreate(GosUserLoginActivity.java:155)
at android.app.Activity.performCreate(Activity.java:6068)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1111)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2318)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2434)
at android.app.ActivityThread.access$800(ActivityThread.java:155)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1318)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:135)
at android.app.ActivityThread.main(ActivityThread.java:5446)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:941)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:736)
|
|