Im wondering if anyone here can provide some insight on this error I'm
seeing from my app
which is released in the Android Market and is reporting back the exception
shown below.

It's having trouble opening the DB, stating "unsupported file format"
I can't find any good info in a google search as to why this might happen.
My best guess is that somehow the DB file is getting corrupted.

Any ideas?


Thanks,
Declan

java.lang.RuntimeException: Unable to create service
com.threefiftynice.android.picpush.framework.UploadService:
android.database.sqlite.SQLiteException: unsupported file format
        at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:2474)
        at android.app.ActivityThread.access$2800(ActivityThread.java:112)
        at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1744)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loop(Looper.java:123)
        at android.app.ActivityThread.main(ActivityThread.java:3948)
        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:782)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:540)
        at dalvik.system.NativeStart.main(Native Method)
Caused by: android.database.sqlite.SQLiteException: unsupported file format
        at android.database.sqlite.SQLiteDatabase.native_setLocale(Native 
Method)
        at 
android.database.sqlite.SQLiteDatabase.setLocale(SQLiteDatabase.java:1658)
        at 
android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1608)
        at 
android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:649)
        at 
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:679)
        at 
android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:672)
        at 
android.app.ApplicationContext.openOrCreateDatabase(ApplicationContext.java:479)
        at 
android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:181)
        at 
android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:98)
        at 
com.threefiftynice.android.picpush.db.MMDBHelper.getWritableDatabase(MMDBHelper.java:36)
        at 
com.threefiftynice.android.picpush.db.MMDBAdapter.<init>(MMDBAdapter.java:15)
        at 
com.threefiftynice.android.picpush.db.TransferAdapter.<init>(TransferAdapter.java:45)
        at 
com.threefiftynice.android.picpush.framework.UploadService.resetStaleTransfers(UploadService.java:682)
        at 
com.threefiftynice.android.picpush.framework.UploadService.onCreate(UploadService.java:674)
        at 
android.app.ActivityThread.handleCreateService(ActivityThread.java:2465)
        ... 10 more



-- 
"An engineer's definition of done is the perfect set of code, and left to
his own devices, an engineer will endlessly improve the code on the mythic
journey to done."
-- http://www.randsinrepose.com

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

Reply via email to