No such table: composition

Bug #917068 reported by pjv
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Collectionista
New
Low
Unassigned

Bug Description

Seen with 0.5.5 + SearchAdd stuff (r) on emulator-2.1 with freshly installed app, when opening default book collection. I think I've seen this in BugSense from the field once or twice too.

01-16 09:51:40.901: E/AndroidRuntime(438): Uncaught handler: thread main exiting due to uncaught exception
01-16 09:51:40.921: E/AndroidRuntime(438): java.lang.RuntimeException: Unable to start activity ComponentInfo{net.lp.collectionista/net.lp.collectionista.ui.activities.collections.book.BookCollectionViewWindow}: android.database.sqlite.SQLiteException: no such table: composition: , while compiling: SELECT _id, subtype, name, cover FROM items_book JOIN composition ON (_id = component_id) WHERE composite_id=? ORDER BY _id ASC
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2496)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2512)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.ActivityThread.access$2200(ActivityThread.java:119)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1863)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.os.Handler.dispatchMessage(Handler.java:99)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.os.Looper.loop(Looper.java:123)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.ActivityThread.main(ActivityThread.java:4363)
01-16 09:51:40.921: E/AndroidRuntime(438): at java.lang.reflect.Method.invokeNative(Native Method)
01-16 09:51:40.921: E/AndroidRuntime(438): at java.lang.reflect.Method.invoke(Method.java:521)
01-16 09:51:40.921: E/AndroidRuntime(438): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860)
01-16 09:51:40.921: E/AndroidRuntime(438): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618)
01-16 09:51:40.921: E/AndroidRuntime(438): at dalvik.system.NativeStart.main(Native Method)
01-16 09:51:40.921: E/AndroidRuntime(438): Caused by: android.database.sqlite.SQLiteException: no such table: composition: , while compiling: SELECT _id, subtype, name, cover FROM items_book JOIN composition ON (_id = component_id) WHERE composite_id=? ORDER BY _id ASC
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteProgram.native_compile(Native Method)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteProgram.compile(SQLiteProgram.java:110)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:59)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteQuery.<init>(SQLiteQuery.java:49)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteDirectCursorDriver.query(SQLiteDirectCursorDriver.java:49)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteDatabase.rawQueryWithFactory(SQLiteDatabase.java:1221)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteDatabase.queryWithFactory(SQLiteDatabase.java:1108)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1066)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.database.sqlite.SQLiteDatabase.query(SQLiteDatabase.java:1143)
01-16 09:51:40.921: E/AndroidRuntime(438): at net.lp.collectionista.providers.ProductContentProvider.query(ProductContentProvider.java:451)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.content.ContentProvider$Transport.query(ContentProvider.java:130)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.content.ContentResolver.query(ContentResolver.java:202)
01-16 09:51:40.921: E/AndroidRuntime(438): at net.lp.collectionista.providers.FacadeContentProvider.query(FacadeContentProvider.java:608)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.content.ContentProvider$Transport.query(ContentProvider.java:130)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.content.ContentResolver.query(ContentResolver.java:202)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.Activity.managedQuery(Activity.java:1495)
01-16 09:51:40.921: E/AndroidRuntime(438): at net.lp.collectionista.ui.activities.collections.NamedItemsAdapter.<init>(NamedItemsAdapter.java:74)
01-16 09:51:40.921: E/AndroidRuntime(438): at net.lp.collectionista.ui.activities.collections.book.BookCollectionViewWindow.setupViews(BookCollectionViewWindow.java:1749)
01-16 09:51:40.921: E/AndroidRuntime(438): at net.lp.collectionista.ui.activities.collections.book.BookCollectionViewWindow.onCreate(BookCollectionViewWindow.java:754)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
01-16 09:51:40.921: E/AndroidRuntime(438): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2459)
01-16 09:51:40.921: E/AndroidRuntime(438): ... 11 more

Revision history for this message
pjv (pjv) wrote :

Seen today again on 2.1 emulator.

Changed in collectionista:
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.