I'm having problems running Astrid on Android 4.0.1. It crashes if I
try to edit a task. I found the following exception in the log.
W/dalvikvm(26986): threadid=1: thread exiting with uncaught exception
(group=0x40a321f8)
W/System.err(26986): android.database.sqlite.SQLiteException: no such
column: displayName: , while compiling: SELECT _id, displayName FROM
Calendars WHERE (access_level>= 500) ORDER BY displayName ASC
W/System.err(26986): at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
179)
W/System.err(26986): at
android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:
135)
W/System.err(26986): at
android.content.ContentProviderProxy.query(ContentProviderNative.java:
358)
W/System.err(26986): at
android.content.ContentResolver.query(ContentResolver.java:310)
W/System.err(26986): at
com.todoroo.astrid.gcal.Calendars.getCalendars(Calendars.java:88)
W/System.err(26986): at
com.todoroo.astrid.gcal.GCalControlSet.<init>(GCalControlSet.java:67)
W/System.err(26986): at com.todoroo.astrid.activity.TaskEditActivity
$TaskEditBackgroundLoader.onUiThread(TaskEditActivity.java:386)
W/System.err(26986): at com.todoroo.astrid.activity.TaskEditActivity
$TaskEditBackgroundLoader$2.run(TaskEditActivity.java:429)
W/System.err(26986): at
android.os.Handler.handleCallback(Handler.java:605)
W/System.err(26986): at
android.os.Handler.dispatchMessage(Handler.java:92)
W/System.err(26986): at android.os.Looper.loop(Looper.java:137)
W/System.err(26986): at
android.app.ActivityThread.main(ActivityThread.java:4340)
W/System.err(26986): at java.lang.reflect.Method.invokeNative(Native
Method)
W/System.err(26986): at java.lang.reflect.Method.invoke(Method.java:
511)
W/System.err(26986): at com.android.internal.os.ZygoteInit
$MethodAndArgsCaller.run(ZygoteInit.java:784)
W/System.err(26986): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
W/System.err(26986): at dalvik.system.NativeStart.main(Native Method)
I also posted the stacktrace here:
http://pastie.org/pastes/2981819/text
I hope this helps to fix this! :)
Christian