java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.bottleworks.dailymoney/com.bottleworks.dailymoney.ui.DesktopAc
tivity}: android.database.sqlite.SQLiteException: near "s": syntax error: ,
while compiling: SELECT SUM(mn_) FROM dm_det WHERE fr_ = 'C-alex's-cash' AND
dt_<=1297238399999
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2663)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
at android.app.ActivityThread.access$2300(ActivityThread.java:125)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
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: android.database.sqlite.SQLiteException: near "s": syntax error: ,
while compiling: SELECT SUM(mn_) FROM dm_det WHERE fr_ = 'C-alex's-cash' AND
dt_<=1297238399999
at android.database.sqlite.SQLiteCompiledSql.native_compile(Native Method)
at android.database.sqlite.SQLiteCompiledSql.compile(SQLiteCompiledSql.java:91)
at android.database.sqlite.SQLiteCompiledSql.<init>(SQLiteCompiledSql.java:64)
at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:80)
at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:46)
at
android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.
java:42)
at
android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1
345)
at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:1315)
at
com.bottleworks.dailymoney.data.SQLiteDataProvider.sumFrom(SQLiteDataProvider.ja
va:618)
at
com.bottleworks.dailymoney.data.BalanceHelper.calculateBalance(BalanceHelper.jav
a:102)
at
com.bottleworks.dailymoney.ui.DesktopActivity.loadInfo(DesktopActivity.java:203)
at
com.bottleworks.dailymoney.ui.DesktopActivity.onCreate(DesktopActivity.java:76)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
... 11 more
Original issue reported on code.google.com by attic...@gmail.com on 9 Feb 2011 at 3:01
Original issue reported on code.google.com by
attic...@gmail.com
on 9 Feb 2011 at 3:01