When selecting an image taken with the camera under the gallery app, to share over messaging, I get a series of SQLiteExceptions, and the MMS hangs on "sending..." until I delete the message.
There are many of these exceptions that flash by on logcat.
Code:E/Database( 334): SELECT locale FROM android_metadata failed E/Database( 334): Failed to setLocale() when constructing, closing the database E/Database( 334): android.database.sqlite.SQLiteException: no such table: andro id_metadata E/Database( 334): at android.database.sqlite.SQLiteDatabase.native_setLoca le(Native Method) E/Database( 334): at android.database.sqlite.SQLiteDatabase.setLocale(SQLi teDatabase.java:1987) E/Database( 334): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteD atabase.java:1855) E/Database( 334): at android.database.sqlite.SQLiteDatabase.openDatabase(S QLiteDatabase.java:820) E/Database( 334): at android.database.sqlite.SQLiteOpenHelper.getReadableD atabase(SQLiteOpenHelper.java:197) E/Database( 334): at com.android.providers.telephony.TelephonyProvider.que ry(TelephonyProvider.java:382) E/Database( 334): at android.content.ContentProvider$Transport.bulkQuery(C ontentProvider.java:174) E/Database( 334): at android.content.ContentProviderNative.onTransact(Cont entProviderNative.java:111) E/Database( 334): at android.os.Binder.execTransact(Binder.java:320) E/Database( 334): at dalvik.system.NativeStart.run(Native Method) I/PowerWidget(24561): Setting up button: toggleSound E/DatabaseUtils( 334): Writing exception to parcel E/DatabaseUtils( 334): android.database.sqlite.SQLiteException: no such table: android_metadata E/DatabaseUtils( 334): at android.database.sqlite.SQLiteDatabase.native _setLocale(Native Method) E/DatabaseUtils( 334): at android.database.sqlite.SQLiteDatabase.setLoc ale(SQLiteDatabase.java:1987) E/DatabaseUtils( 334): at android.database.sqlite.SQLiteDatabase.<init> (SQLiteDatabase.java:1855) E/DatabaseUtils( 334): at android.database.sqlite.SQLiteDatabase.openDa tabase(SQLiteDatabase.java:820) E/DatabaseUtils( 334): at android.database.sqlite.SQLiteOpenHelper.getR eadableDatabase(SQLiteOpenHelper.java:197) E/DatabaseUtils( 334): at com.android.providers.telephony.TelephonyProv ider.query(TelephonyProvider.java:382) E/DatabaseUtils( 334): at android.content.ContentProvider$Transport.bul kQuery(ContentProvider.java:174) E/DatabaseUtils( 334): at android.content.ContentProviderNative.onTrans act(ContentProviderNative.java:111) E/DatabaseUtils( 334): at android.os.Binder.execTransact(Binder.java:32 0) E/DatabaseUtils( 334): at dalvik.system.NativeStart.run(Native Method) D/dalvikvm(18172): GC_EXTERNAL_ALLOC freed 96K, 52% free 2782K/5703K, external 9 39K/1033K, paused 213ms E/SqliteWrapper(25701): Catch a SQLiteException when query: E/SqliteWrapper(25701): android.database.sqlite.SQLiteException: no such table: android_metadata E/SqliteWrapper(25701): at android.database.DatabaseUtils.readExceptionF romParcel(DatabaseUtils.java:158) E/SqliteWrapper(25701): at android.database.DatabaseUtils.readExceptionF romParcel(DatabaseUtils.java:114) E/SqliteWrapper(25701): at android.content.ContentProviderProxy.bulkQuer yInternal(ContentProviderNative.java:330) E/SqliteWrapper(25701): at android.content.ContentProviderProxy.query(Co ntentProviderNative.java:366) E/SqliteWrapper(25701): at android.content.ContentResolver.query(Content Resolver.java:271) E/SqliteWrapper(25701): at android.database.sqlite.SqliteWrapper.query(S qliteWrapper.java:59) E/SqliteWrapper(25701): at com.android.mms.transaction.TransactionSettin gs.<init>(TransactionSettings.java:66) E/SqliteWrapper(25701): at com.android.mms.transaction.TransactionServic e$ServiceHandler.handleMessage(TransactionService.java:628) E/SqliteWrapper(25701): at android.os.Handler.dispatchMessage(Handler.ja va:99) E/SqliteWrapper(25701): at android.os.Looper.loop(Looper.java:130) E/SqliteWrapper(25701): at android.os.HandlerThread.run(HandlerThread.ja va:60) W/TransactionService(25701): Exception occurred while handling message: { what=1 when=-84ms arg1=1 obj=com.android.mms.transaction.TransactionBundle@2b062ae8 } W/TransactionService(25701): android.database.sqlite.SQLiteException: no such ta ble: android_metadata W/TransactionService(25701): at android.database.DatabaseUtils.readExceptionF romParcel(DatabaseUtils.java:158) W/TransactionService(25701): at android.database.DatabaseUtils.readExceptionF romParcel(DatabaseUtils.java:114) W/TransactionService(25701): at android.content.ContentProviderProxy.bulkQuer yInternal(ContentProviderNative.java:330) W/TransactionService(25701): at android.content.ContentProviderProxy.query(Co ntentProviderNative.java:366) W/TransactionService(25701): at android.content.ContentResolver.query(Content Resolver.java:271) W/TransactionService(25701): at android.database.sqlite.SqliteWrapper.query(S qliteWrapper.java:59) W/TransactionService(25701): at com.android.mms.transaction.TransactionSettin gs.<init>(TransactionSettings.java:66) W/TransactionService(25701): at com.android.mms.transaction.TransactionServic e$ServiceHandler.handleMessage(TransactionService.java:628) W/TransactionService(25701): at android.os.Handler.dispatchMessage(Handler.ja va:99) W/TransactionService(25701): at android.os.Looper.loop(Looper.java:130) W/TransactionService(25701): at android.os.HandlerThread.run(HandlerThread.ja va:60) I/Database( 334): sqlite returned: error code = 8, msg = statement aborts at 1: [PRAGMA journal_mode = WAL;] E/Database( 334): sqlite3_exec - Failed to set WAL mode for [/data/data/com.and roid.providers.telephony/databases/telephony.db] I/Database( 334): sqlite returned: error code = 8, msg = statement aborts at 37 : [CREATE TABLE IF NOT EXISTS android_metadata (locale TEXT)] attempt to write a readonly database E/Database( 334): CREATE TABLE android_metadata failed E/Database( 334): Failed to setLocale() when constructing, closing the database E/Database( 334): android.database.sqlite.SQLiteException: attempt to write a r eadonly database E/Database( 334): at android.database.sqlite.SQLiteDatabase.native_setLoca le(Native Method) E/Database( 334): at android.database.sqlite.SQLiteDatabase.setLocale(SQLi teDatabase.java:1987) E/Database( 334): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteD atabase.java:1855) E/Database( 334): at android.database.sqlite.SQLiteDatabase.openDatabase(S QLiteDatabase.java:820) E/Database( 334): at android.database.sqlite.SQLiteDatabase.openOrCreateDa tabase(SQLiteDatabase.java:854) E/Database( 334): at android.database.sqlite.SQLiteDatabase.openOrCreateDa tabase(SQLiteDatabase.java:847) E/Database( 334): at android.app.ContextImpl.openOrCreateDatabase(ContextI mpl.java:572) E/Database( 334): at android.database.sqlite.SQLiteOpenHelper.getWritableD atabase(SQLiteOpenHelper.java:118) E/Database( 334): at android.database.sqlite.SQLiteOpenHelper.getReadableD atabase(SQLiteOpenHelper.java:187) E/Database( 334): at com.android.providers.telephony.TelephonyProvider.que ry(TelephonyProvider.java:382) E/Database( 334): at android.content.ContentProvider$Transport.bulkQuery(C ontentProvider.java:174) E/Database( 334): at android.content.ContentProviderNative.onTransact(Cont entProviderNative.java:111) E/Database( 334): at android.os.Binder.execTransact(Binder.java:320) E/Database( 334): at dalvik.system.NativeStart.run(Native Method) E/SQLiteOpenHelper( 334): Couldn't open telephony.db for writing (will try read -only): E/SQLiteOpenHelper( 334): android.database.sqlite.SQLiteException: attempt to w rite a readonly database E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteDatabase.native _setLocale(Native Method) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteDatabase.setLoc ale(SQLiteDatabase.java:1987) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteDatabase.<init> (SQLiteDatabase.java:1855) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteDatabase.openDa tabase(SQLiteDatabase.java:820) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteDatabase.openOr CreateDatabase(SQLiteDatabase.java:854) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteDatabase.openOr CreateDatabase(SQLiteDatabase.java:847) E/SQLiteOpenHelper( 334): at android.app.ContextImpl.openOrCreateDatabase( ContextImpl.java:572) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteOpenHelper.getW ritableDatabase(SQLiteOpenHelper.java:118) E/SQLiteOpenHelper( 334): at android.database.sqlite.SQLiteOpenHelper.getR eadableDatabase(SQLiteOpenHelper.java:187) E/SQLiteOpenHelper( 334): at com.android.providers.telephony.TelephonyProv ider.query(TelephonyProvider.java:382) E/SQLiteOpenHelper( 334): at android.content.ContentProvider$Transport.bul kQuery(ContentProvider.java:174) E/SQLiteOpenHelper( 334): at android.content.ContentProviderNative.onTrans act(ContentProviderNative.java:111) E/SQLiteOpenHelper( 334): at android.os.Binder.execTransact(Binder.java:32 0) E/SQLiteOpenHelper( 334): at dalvik.system.NativeStart.run(Native Method) I/Database( 334): sqlite returned: error code = 1, msg = no such table: android _metadata
I'm not certain they are all exactly the same, nor how many of these flash by since it all happens within a second of clicking the "Send MMS" button, and my scroll buffer is not set to hold that many lines.
Coincidentally, I noticed this today too, when I tried to send a MMS from the gallery. They stick on "sending..."
I tried changing the state of the radios around but to no avail.