Hi,

My App's database works perfectly deploying to all my friends handsets
that I have tested on, downloading the application from the Android
Market. The database works correctly when installing the application
onto devices in development mode, and when testing in the emulators.

However, In the error logs many customers are getting an issue where
the database seems to be missing a table.

Does anyone any ideas about why this is occurring or what I can do to
guarantee the integrity of the database?

Here is the stack trace:

java.lang.RuntimeException: An error occured while executing
doInBackground()
at android.os.AsyncTask$3.done(AsyncTask.java:200)
at java.util.concurrent.FutureTask
$Sync.innerSetException(FutureTask.java:273)
at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
at java.util.concurrent.FutureTask.run(FutureTask.java:137)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:
1068)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:561)
at java.lang.Thread.run(Thread.java:1096)
Caused by: android.database.sqlite.SQLiteException: no such table:
wordlist: , while compiling: SELECT MIN(b.wordindex), MAX(b.wordindex)
FROM wordlist a INNER JOIN wordmember b ON (a.id = b.wordid) WHERE
a.level <= 3 AND a.region in (1, 0)
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:
1350)
at android.database.sqlite.SQLiteDatabase.rawQuery(SQLiteDatabase.java:
1320)
at com.peterdamen.android.worder.g.a(Unknown Source)
at com.peterdamen.android.worder.t.c(Unknown Source)
at com.peterdamen.android.worder.t.a(Unknown Source)
at com.peterdamen.android.worder.o.doInBackground(Unknown Source)
at android.os.AsyncTask$2.call(AsyncTask.java:185)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
... 4 more

Thanks,
Peter

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to