kentaylor / AvocadoAC

Inspired by Chris Smith's project this application does classification differently, logs classifications in a local database and maintains an online repository of activities.
https://github.com/kentaylor/ContextApi/wiki/Classification-Update
5 stars 5 forks source link

Unhandled exception occurs when no google account is set on the phone #29

Closed umranium closed 13 years ago

umranium commented 13 years ago

The service is force closed. Here is the exception thrown:

FATAL EXCEPTION: main java.lang.RuntimeException: Unable to start service activity.classifier.RecorderService@43e50ac8 with Intent { cmp=activity.classifier/.RecorderService }: java.lang.ArrayIndexOutOfBoundsException at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3063) at android.app.ActivityThread.access$3600(ActivityThread.java:125) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2096) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:4627) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:521) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626) at dalvik.system.NativeStart.main(Native Method) Caused by: java.lang.ArrayIndexOutOfBoundsException at activity.classifier.RecorderService.onStart(RecorderService.java:366) at android.app.Service.onStartCommand(Service.java:420) at android.app.ActivityThread.handleServiceArgs(ActivityThread.java:3053) ... 10 more

kentaylor commented 13 years ago

Fixed