sadr0b0t / vkurse

Automatically exported from code.google.com/p/vkurse
0 stars 0 forks source link

Android: программа вылетает после выбора группы #25

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Последняя версия (vkurse_demo_new)

Запускаю приложение, нажимаю кнопку "ok" - 
получаю диалог с ошибкой, лог такой:

E/AndroidRuntime(21104): java.lang.RuntimeException: Unable to start activity 
ComponentInfo{edu.phystech.vkurse/edu.phystech.vkurse.Schedule_Activity}: 
java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime(21104):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2596)
E/AndroidRuntime(21104):        at 
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2621)
E/AndroidRuntime(21104):        at 
android.app.ActivityThread.access$2200(ActivityThread.java:126)
E/AndroidRuntime(21104):        at 
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1932)
E/AndroidRuntime(21104):        at 
android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(21104):        at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime(21104):        at 
android.app.ActivityThread.main(ActivityThread.java:4595)
E/AndroidRuntime(21104):        at java.lang.reflect.Method.invokeNative(Native 
Method)
E/AndroidRuntime(21104):        at 
java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime(21104):        at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
E/AndroidRuntime(21104):        at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
E/AndroidRuntime(21104):        at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(21104): Caused by: java.lang.ArrayIndexOutOfBoundsException
E/AndroidRuntime(21104):        at 
edu.phystech.vkurse.Schedule_Activity.updateDisplay(Schedule_Activity.java:258)
E/AndroidRuntime(21104):        at 
edu.phystech.vkurse.Schedule_Activity.onCreate(Schedule_Activity.java:81)
E/AndroidRuntime(21104):        at 
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(21104):        at 
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2544)
E/AndroidRuntime(21104):        ... 11 more

Original issue reported on code.google.com by bender...@gmail.com on 7 Nov 2010 at 7:36

GoogleCodeExporter commented 9 years ago

Original comment by zhukovsk...@gmail.com on 8 Nov 2010 at 5:42