sqllite java.io.FileNotFoundException - Nexus One Q&A, Help & Troubleshooting

weird FCes started to happen.. I don't know if its SD card going bad, Rom or maybe the partitioning itself.
The issue starts to happen after about 2 weeks after ROM install..... QND MIUI XPART. Happens with different versions of the ROM. Its weird since everything works for sometime like 2 weeks and then just suddenly I assume that apps using db SQLlite starts FC.
I am using XPART of the ROM.
Factory reset and reinstall fixes issue for awhile.
Some logs for example Titanium Backup (similar things with file access happen to Launcher Pro, HTC keyboard and other apps) app:
I/ActivityManager( 1052): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.keramidas.TitaniumBackup/.MainActivity bnds=[238,76][355,211]
} from pid 23423
I/ActivityManager( 1052): Start proc com.keramidas.TitaniumBackup for activity com.keramidas.TitaniumBackup/.MainActivity: pid=26024 uid=10081 gids={1015, 3003}
I/com.keramidas.TitaniumBackup.MainApplication(26024): onCreate()
W/Settings(26024): Setting android_id has moved from android.provider.Settings.System to android.provider.Settings.Secure, returning read-only value.
D/com.keramidas.TitaniumBackup.i.k(26024): Debug features are disabled.
I/com.keramidas.TitaniumBackup.h.a(26024): restoreMySettings_ifNeeded()
I/com.keramidas.TitaniumBackup.i.az(26024): Detected 0 mount point(s) in addition to Android "external" storage.
I/com.keramidas.TitaniumBackup.h.a(26024): Restoring the settings ...
I/com.keramidas.TitaniumBackup.h.a(26024): Copying: /mnt/sdcard/data/com.keramidas.TitaniumBackup/settings/shared_prefs~com.keramidas.TitaniumBackup_preferences.xml => /data/data/com.keramidas.Titaniu
mBackup/shared_prefs/com.keramidas.TitaniumBackup_preferences.xml
I/com.keramidas.TitaniumBackup.h.a(26024): Parent directory is: /data/data/com.keramidas.TitaniumBackup/shared_prefs
W/System.err(26024): java.io.FileNotFoundException: /data/data/com.keramidas.TitaniumBackup/shared_prefs/com.keramidas.TitaniumBackup_preferences.xml.tmp (Permission denied)
W/System.err(26024): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
W/System.err(26024): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
W/System.err(26024): at java.io.FileOutputStream.<init>(FileOutputStream.java:94)
W/System.err(26024): at java.io.FileOutputStream.<init>(FileOutputStream.java:66)
W/System.err(26024): at com.keramidas.TitaniumBackup.h.a.b(Source:152)
W/System.err(26024): at com.keramidas.TitaniumBackup.h.a.b(Source:131)
W/System.err(26024): at com.keramidas.TitaniumBackup.MainApplication.onCreate(Source:70)
W/System.err(26024): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
W/System.err(26024): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3283)
W/System.err(26024): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
W/System.err(26024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
W/System.err(26024): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(26024): at android.os.Looper.loop(Looper.java:130)
W/System.err(26024): at android.app.ActivityThread.main(ActivityThread.java:3694)
W/System.err(26024): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(26024): at java.lang.reflect.Method.invoke(Method.java:507)
W/System.err(26024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
W/System.err(26024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
W/System.err(26024): at dalvik.system.NativeStart.main(Native Method)
I/com.keramidas.TitaniumBackup.h.a(26024): Copying: /mnt/sdcard/data/com.keramidas.TitaniumBackup/settings/databases~schedules => /data/data/com.keramidas.TitaniumBackup/databases/schedules
I/com.keramidas.TitaniumBackup.h.a(26024): Parent directory is: /data/data/com.keramidas.TitaniumBackup/databases
W/System.err(26024): java.io.FileNotFoundException: /data/data/com.keramidas.TitaniumBackup/databases/schedules.tmp (Permission denied)
W/System.err(26024): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
W/System.err(26024): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
W/System.err(26024): at java.io.FileOutputStream.<init>(FileOutputStream.java:94)
W/System.err(26024): at java.io.FileOutputStream.<init>(FileOutputStream.java:66)
W/System.err(26024): at com.keramidas.TitaniumBackup.h.a.b(Source:152)
W/System.err(26024): at com.keramidas.TitaniumBackup.h.a.b(Source:131)
W/System.err(26024): at com.keramidas.TitaniumBackup.MainApplication.onCreate(Source:70)
W/System.err(26024): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
W/System.err(26024): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3283)
W/System.err(26024): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
W/System.err(26024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
W/System.err(26024): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(26024): at android.os.Looper.loop(Looper.java:130)
W/System.err(26024): at android.app.ActivityThread.main(ActivityThread.java:3694)
W/System.err(26024): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(26024): at java.lang.reflect.Method.invoke(Method.java:507)
W/System.err(26024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
W/System.err(26024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
W/System.err(26024): at dalvik.system.NativeStart.main(Native Method)
I/com.keramidas.TitaniumBackup.h.a(26024): Copying: /mnt/sdcard/data/com.keramidas.TitaniumBackup/settings/databases~custom => /data/data/com.keramidas.TitaniumBackup/databases/custom
I/com.keramidas.TitaniumBackup.h.a(26024): Parent directory is: /data/data/com.keramidas.TitaniumBackup/databases
W/System.err(26024): java.io.FileNotFoundException: /data/data/com.keramidas.TitaniumBackup/databases/custom.tmp (Permission denied)
W/System.err(26024): at org.apache.harmony.luni.platform.OSFileSystem.open(Native Method)
W/System.err(26024): at dalvik.system.BlockGuard$WrappedFileSystem.open(BlockGuard.java:232)
W/System.err(26024): at java.io.FileOutputStream.<init>(FileOutputStream.java:94)
W/System.err(26024): at java.io.FileOutputStream.<init>(FileOutputStream.java:66)
W/System.err(26024): at com.keramidas.TitaniumBackup.h.a.b(Source:152)
W/System.err(26024): at com.keramidas.TitaniumBackup.h.a.b(Source:131)
W/System.err(26024): at com.keramidas.TitaniumBackup.MainApplication.onCreate(Source:70)
W/System.err(26024): at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:969)
W/System.err(26024): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3283)
W/System.err(26024): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
W/System.err(26024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
W/System.err(26024): at android.os.Handler.dispatchMessage(Handler.java:99)
W/System.err(26024): at android.os.Looper.loop(Looper.java:130)
W/System.err(26024): at android.app.ActivityThread.main(ActivityThread.java:3694)
W/System.err(26024): at java.lang.reflect.Method.invokeNative(Native Method)
W/System.err(26024): at java.lang.reflect.Method.invoke(Method.java:507)
W/System.err(26024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
W/System.err(26024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
W/System.err(26024): at dalvik.system.NativeStart.main(Native Method)
D/dalvikvm(26024): GC_CONCURRENT freed 349K, 51% free 2779K/5639K, external 0K/0K, paused 3ms+2ms
D/dalvikvm(26024): GC_EXTERNAL_ALLOC freed 21K, 52% free 2757K/5639K, external 0K/0K, paused 50ms
W/Resources(26024): Converting to string: TypedValue{t=0x10/d=0x0 a=-1}
W/Resources(26024): Converting to string: TypedValue{t=0x10/d=0x80 a=-1}
W/Resources(26024): Converting to string: TypedValue{t=0x10/d=0x3 a=-1}
E/ApplicationContext(26024): Couldn't create directory for SharedPreferences file /data/data/com.keramidas.TitaniumBackup/shared_prefs/com.keramidas.TitaniumBackup_preferences.xml
W/Resources(26024): Converting to string: TypedValue{t=0x10/d=0x1 a=-1}
E/ApplicationContext(26024): Couldn't create directory for SharedPreferences file /data/data/com.keramidas.TitaniumBackup/shared_prefs/com.keramidas.TitaniumBackup_preferences.xml
W/Resources(26024): Converting to string: TypedValue{t=0x10/d=0x3 a=-1}
I/com.keramidas.TitaniumBackup.MainActivity(26024): Main Activity is being created for the first time => scheduling next wake-up ...
E/ApplicationContext(26024): Couldn't create directory for SharedPreferences file /data/data/com.keramidas.TitaniumBackup/shared_prefs/com.keramidas.TitaniumBackup_preferences.xml
E/ApplicationContext(26024): Couldn't create directory for SharedPreferences file /data/data/com.keramidas.TitaniumBackup/shared_prefs/_has_set_default_values.xml
I/com.keramidas.TitaniumBackup.schedules.SchedulerService(26024): scheduleNextWakeup(): Invoked with idToExcludeForToday=null
I/Database(26024): sqlite returned: error code = 14, msg = cannot open file at line 27205 of [42537b6056]
E/Database(26024): sqlite3_open_v2("/data/data/com.keramidas.TitaniumBackup/databases/schedules", &handle, 6, NULL) failed
E/SQLiteOpenHelper(26024): Couldn't open schedules for writing (will try read-only):
E/SQLiteOpenHelper(26024): android.database.sqlite.SQLiteException: unable to open database file
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1849)
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:854)
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteDatabase.openOrCreateDatabase(SQLiteDatabase.java:847)
E/SQLiteOpenHelper(26024): at android.app.ContextImpl.openOrCreateDatabase(ContextImpl.java:556)
E/SQLiteOpenHelper(26024): at android.content.ContextWrapper.openOrCreateDatabase(ContextWrapper.java:203)
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:118)
E/SQLiteOpenHelper(26024): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
E/SQLiteOpenHelper(26024): at com.keramidas.TitaniumBackup.schedules.SchedulerService.a(Source:168)
E/SQLiteOpenHelper(26024): at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source:286)
E/SQLiteOpenHelper(26024): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/SQLiteOpenHelper(26024): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1619)
E/SQLiteOpenHelper(26024): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1671)
E/SQLiteOpenHelper(26024): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/SQLiteOpenHelper(26024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/SQLiteOpenHelper(26024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/SQLiteOpenHelper(26024): at android.os.Looper.loop(Looper.java:130)
E/SQLiteOpenHelper(26024): at android.app.ActivityThread.main(ActivityThread.java:3694)
E/SQLiteOpenHelper(26024): at java.lang.reflect.Method.invokeNative(Native Method)
E/SQLiteOpenHelper(26024): at java.lang.reflect.Method.invoke(Method.java:507)
E/SQLiteOpenHelper(26024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/SQLiteOpenHelper(26024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/SQLiteOpenHelper(26024): at dalvik.system.NativeStart.main(Native Method)
I/Database(26024): sqlite returned: error code = 14, msg = cannot open file at line 27205 of [42537b6056]
E/Database(26024): sqlite3_open_v2("/data/data/com.keramidas.TitaniumBackup/databases/schedules", &handle, 1, NULL) failed
D/AndroidRuntime(26024): Shutting down VM
W/dalvikvm(26024): threadid=1: thread exiting with uncaught exception (group=0x40174568)
E/AndroidRuntime(26024): FATAL EXCEPTION: main
E/AndroidRuntime(26024): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.keramidas.TitaniumBackup/com.keramidas.TitaniumBackup.MainActivity}: android.database.sqlite.SQLiteExcep
tion: unable to open database file
E/AndroidRuntime(26024): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1655)
E/AndroidRuntime(26024): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1671)
E/AndroidRuntime(26024): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime(26024): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime(26024): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(26024): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime(26024): at android.app.ActivityThread.main(ActivityThread.java:3694)
E/AndroidRuntime(26024): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime(26024): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime(26024): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime(26024): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime(26024): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(26024): Caused by: android.database.sqlite.SQLiteException: unable to open database file
E/AndroidRuntime(26024): at android.database.sqlite.SQLiteDatabase.dbopen(Native Method)
E/AndroidRuntime(26024): at android.database.sqlite.SQLiteDatabase.<init>(SQLiteDatabase.java:1849)
E/AndroidRuntime(26024): at android.database.sqlite.SQLiteDatabase.openDatabase(SQLiteDatabase.java:820)
E/AndroidRuntime(26024): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:197)
E/AndroidRuntime(26024): at com.keramidas.TitaniumBackup.schedules.SchedulerService.a(Source:168)
E/AndroidRuntime(26024): at com.keramidas.TitaniumBackup.MainActivity.onCreate(Source:286)
E/AndroidRuntime(26024): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime(26024): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1619)
E/AndroidRuntime(26024): ... 11 more
W/ActivityManager( 1052): Force finishing activity com.keramidas.TitaniumBackup/.MainActivity

I am having the same issues on my HTC Incredible (Skyraider 4.3) and have been suspicious of the microSD card (Kingston 16 GB Class 10) since the symptoms have been seemingly random. I will be sure and keep you posted if I figure anything out.

Related

[PORT HELP] Droid X Music Player

Hi, I was trying to port the music player from Droid X but im stuck in a library error:
I/ActivityManager( 1630): Starting activity: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.android.launcher/.Launcher }
I/ActivityManager( 1630): Starting activity: Intent { act=com.android.music.PLAYBACK_VIEWER flg=0x10000000 cmp=com.android.music/.MediaPlaybackActivity bnds=[0,152][854,248] }
D/VisualizationView( 4324): onDestroy entered 0
D/VisualizationView( 4324): onDestroy exited 0
D/VisualizationLib( 4324): load libvisualization_jni
I/dalvikvm( 4324): Unable to dlopen(/system/lib/libvisualization_jni.so): Cannot load library: link_image[2033]: failed to link libvisualization_jni.so
I/dalvikvm( 4324):
W/dalvikvm( 4324): Exception Ljava/lang/UnsatisfiedLinkError; thrown during Lcom/motorola/visualization/VisualizationLib;.<clinit>
D/AndroidRuntime( 4324): Shutting down VM
W/dalvikvm( 4324): threadid=1: thread exiting with uncaught exception (group=0x4001d7d8)
E/AndroidRuntime( 4324): FATAL EXCEPTION: main
E/AndroidRuntime( 4324): java.lang.ExceptionInInitializerError
E/AndroidRuntime( 4324): at com.android.music.MediaPlaybackActivity.onCreate(MediaPlaybackActivity.java:230)
E/AndroidRuntime( 4324): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 4324): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2627)
E/AndroidRuntime( 4324): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2679)
E/AndroidRuntime( 4324): at android.app.ActivityThread.access$2300(ActivityThread.java:125)
E/AndroidRuntime( 4324): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2033)
E/AndroidRuntime( 4324): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 4324): at android.os.Looper.loop(Looper.java:123)
E/AndroidRuntime( 4324): at android.app.ActivityThread.main(ActivityThread.java:4627)
E/AndroidRuntime( 4324): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 4324): at java.lang.reflect.Method.invoke(Method.java:521)
E/AndroidRuntime( 4324): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:868)
E/AndroidRuntime( 4324): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:626)
E/AndroidRuntime( 4324): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 4324): Caused by: java.lang.UnsatisfiedLinkError: Library visualization_jni not found
E/AndroidRuntime( 4324): at java.lang.Runtime.loadLibrary(Runtime.java:461)
E/AndroidRuntime( 4324): at java.lang.System.loadLibrary(System.java:557)
E/AndroidRuntime( 4324): at com.motorola.visualization.VisualizationLib.<clinit>(VisualizationLib.java:12)
E/AndroidRuntime( 4324): ... 14 more
W/ActivityManager( 1630): Force finishing activity com.android.music/.MediaPlaybackActivity
In bold the error that I'm sure it's causing the FC. Any help would be aprecciated.
NOTE: Visualization.apk pushed to /system/app with chmod 644
libvisualization_jni.so pushed to /system/lib with chmod 644

SELECT COUNT(*) FROM overrides; error code 11: database disk image is malformed

I post this here in hope it's helpful for anybody who felt in the same issue.
I assume that this issues occurred installing Gmail 2.3.4.1 (Be careful downloading Gmail 2.3.5) for my Ginger yoshi 1.3 fix 32a_b.
I've solved this issue deleting the data for the "google servises framework" application (via application manager).
Here the logcat with the issue:
I/Database( 413): sqlite returned: error code = 11, msg = database corruption at line 45898 of [42537b6056]
I/Database( 413): sqlite returned: error code = 11, msg = database corruption at line 45936 of [42537b6056]
I/Database( 413): sqlite returned: error code = 11, msg = statement aborts at 4: [SELECT COUNT(*) FROM overrides]
I/PowerWidget( 318): Setting up button: toggleNetworkMode
E/SQLiteOpenHelper( 413): Couldn't open gservices.db for writing (will try read-only):
E/SQLiteOpenHelper( 413): android.database.sqlite.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed
E/SQLiteOpenHelper( 413): at android.database.sqlite.SQLiteStatement.native_1x1_long(Native Method)
E/SQLiteOpenHelper( 413): at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:115)
E/SQLiteOpenHelper( 413): at com.google.android.gsf.gservices.GservicesProvider$DatabaseHelper.onOpen(GservicesProvider.java:108)
E/SQLiteOpenHelper( 413): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:141)
E/SQLiteOpenHelper( 413): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
E/SQLiteOpenHelper( 413): at com.google.android.gsf.gservices.GservicesProvider.querySimple(GservicesProvider.java:165)
E/SQLiteOpenHelper( 413): at com.google.android.gsf.gservices.GservicesProvider.query(GservicesProvider.java:157)
E/SQLiteOpenHelper( 413): at android.content.ContentProvider$Transport.query(ContentProvider.java:187)
E/SQLiteOpenHelper( 413): at android.content.ContentResolver.query(ContentResolver.java:271)
E/SQLiteOpenHelper( 413): at com.google.android.gsf.Gservices.getString(Gservices.java:101)
E/SQLiteOpenHelper( 413): at com.google.android.location.LocationMasfClient.<init>(LocationMasfClient.java:159)
E/SQLiteOpenHelper( 413): at com.google.android.location.NetworkLocationService.onCreate(NetworkLocationService.java:41)
E/SQLiteOpenHelper( 413): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2066)
E/SQLiteOpenHelper( 413): at android.app.ActivityThread.access$2500(ActivityThread.java:123)
E/SQLiteOpenHelper( 413): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)
E/SQLiteOpenHelper( 413): at android.os.Handler.dispatchMessage(Handler.java:99)
E/SQLiteOpenHelper( 413): at android.os.Looper.loop(Looper.java:130)
E/SQLiteOpenHelper( 413): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/SQLiteOpenHelper( 413): at java.lang.reflect.Method.invokeNative(Native Method)
E/SQLiteOpenHelper( 413): at java.lang.reflect.Method.invoke(Method.java:507)
E/SQLiteOpenHelper( 413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/SQLiteOpenHelper( 413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/SQLiteOpenHelper( 413): at dalvik.system.NativeStart.main(Native Method)
I/Database( 413): sqlite returned: error code = 11, msg = database corruption at line 45898 of [42537b6056]
I/Database( 413): sqlite returned: error code = 11, msg = database corruption at line 45936 of [42537b6056]
I/Database( 413): sqlite returned: error code = 11, msg = statement aborts at 4: [SELECT COUNT(*) FROM overrides]
D/AndroidRuntime( 413): Shutting down VM
W/dalvikvm( 413): threadid=1: thread exiting with uncaught exception (group=0x40018560)
I/StorageNotification( 318): Media {/mnt/sdcard} state changed from {unmounted} -> {checking}
V/NotificationService( 257): Active profile: Default
I/PROFILE ( 257): Group: Gmail containing : com.android.systemui : false
I/PROFILE ( 257): Group: Phone containing : com.android.systemui : false
I/PROFILE ( 257): Group: Calendar containing : com.android.systemui : false
I/PROFILE ( 257): Group: Email containing : com.android.systemui : false
I/PROFILE ( 257): Group: SMS containing : com.android.systemui : false
V/ProfileManager( 257): No active group, returning default: Anderes
V/NotificationService( 257): Pkg: com.android.systemui group: Anderes
E/AndroidRuntime( 413): FATAL EXCEPTION: main
E/AndroidRuntime( 413): java.lang.RuntimeException: Unable to create service com.google.android.location.NetworkLocationService: android.database.sqlite.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed
E/AndroidRuntime( 413): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2076)
E/AndroidRuntime( 413): at android.app.ActivityThread.access$2500(ActivityThread.java:123)
E/AndroidRuntime( 413): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:993)
E/AndroidRuntime( 413): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 413): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 413): at android.app.ActivityThread.main(ActivityThread.java:3835)
E/AndroidRuntime( 413): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 413): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 413): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847)
E/AndroidRuntime( 413): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605)
E/AndroidRuntime( 413): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 413): Caused by: android.database.sqlite.SQLiteDatabaseCorruptException: error code 11: database disk image is malformed
E/AndroidRuntime( 413): at android.database.sqlite.SQLiteStatement.native_1x1_long(Native Method)
E/AndroidRuntime( 413): at android.database.sqlite.SQLiteStatement.simpleQueryForLong(SQLiteStatement.java:115)
E/AndroidRuntime( 413): at com.google.android.gsf.gservices.GservicesProvider$DatabaseHelper.onOpen(GservicesProvider.java:108)
E/AndroidRuntime( 413): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:203)
E/AndroidRuntime( 413): at com.google.android.gsf.gservices.GservicesProvider.querySimple(GservicesProvider.java:165)
E/AndroidRuntime( 413): at com.google.android.gsf.gservices.GservicesProvider.query(GservicesProvider.java:157)
E/AndroidRuntime( 413): at android.content.ContentProvider$Transport.query(ContentProvider.java:187)
E/AndroidRuntime( 413): at android.content.ContentResolver.query(ContentResolver.java:271)
E/AndroidRuntime( 413): at com.google.android.gsf.Gservices.getString(Gservices.java:101)
E/AndroidRuntime( 413): at com.google.android.location.LocationMasfClient.<init>(LocationMasfClient.java:159)
E/AndroidRuntime( 413): at com.google.android.location.NetworkLocationService.onCreate(NetworkLocationService.java:41)
E/AndroidRuntime( 413): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2066)
E/AndroidRuntime( 413): ... 10 more
D/dalvikvm( 413): GC_CONCURRENT freed 281K, 50% free 2796K/5575K, external 0K/0K, paused 6ms+11ms
D/dalvikvm( 257): GC_CONCURRENT freed 470K, 38% free 4966K/7943K, external 36K/528K, paused 10ms+15ms
D/dalvikvm( 257): GC_EXTERNAL_ALLOC freed 7K, 38% free 4958K/7943K, external 36K/528K, paused 163ms
I/SearchManagerService( 257): Building list of searchable activities
Click to expand...
Click to collapse

[Q] Optimus 2x MIUI 1.1.20 Boot loop - logcat result suggests layout issue?

MIUI 2.1.13 worked fine on my Optimus 2x, but after upgrading to WajkIUI or plain MIUI 2.1.20 I get a boot loop. I've tried clearing my dalvik cache, factory reset in CWM and reviewing logcat, but aren't seeing any indication as to what is stopping the boot process.
I would greatly appreciate if someone with more knowledge was able to review the start of my logcat output to assist in identifying the cause of this loop, I have highlighted what I believe to the the start of the failing, but can't be sure, and if it is, I'm not sure how to replace the launcher statusbar files with those from .13.
I would appreciate any input that can be given.
Here's what I believe to be the error
Code:
D/installd( 1028): DexInv: --- BEGIN '/system/app/TelephonyProvider.apk' ---
D/AndroidRuntime( 1511): Shutting down VM
W/dalvikvm( 1511): threadid=1: thread exiting with uncaught exception (group=0x40015568)
E/AndroidRuntime( 1511): FATAL EXCEPTION: main
E/AndroidRuntime( 1511): java.lang.RuntimeException: Unable to create service com.android.systemui.statusbar.StatusBarService: android.view.InflateException: You must specifiy a valid layout reference. The layout ID @layout/status_bar_expanded_notifications is not valid.
E/AndroidRuntime( 1511): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1972)
E/AndroidRuntime( 1511): at android.app.ActivityThread.access$2500(ActivityThread.java:117)
E/AndroidRuntime( 1511): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
E/AndroidRuntime( 1511): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1511): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1511): at android.app.ActivityThread.main(ActivityThread.java:3703)
here's a larger logcat clip
Code:
--------- beginning of /dev/log/system
E/AndroidRuntime( 1390): Error reporting crash
E/AndroidRuntime( 1390): android.os.DeadObjectException
E/AndroidRuntime( 1390): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1390): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2555)
E/AndroidRuntime( 1390): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 1390): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1390): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 1390): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1445): FATAL EXCEPTION: Thread-12
E/AndroidRuntime( 1445): java.lang.NullPointerException
E/AndroidRuntime( 1445): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:839)
E/AndroidRuntime( 1445): at com.google.android.gsf.Gservices$1.run(Gservices.java:70)
E/AndroidRuntime( 1445): Error reporting crash
E/AndroidRuntime( 1445): android.os.DeadObjectException
E/AndroidRuntime( 1445): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1445): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2555)
E/AndroidRuntime( 1445): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 1445): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1445): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
I/SystemServer( 1515): Entered the Android system server!
I/SystemServer( 1515): Entropy Service
I/SystemServer( 1515): Power Manager
I/SystemServer( 1515): Activity Manager
I/ActivityManager( 1515): Memory class: 32
W/UsageStats( 1515): Usage stats version changed; dropping
E/ConfirmedPackageBehaviors( 1515): /data/system/confirmed_package_behavior.authz doen't exist.
I/SystemServer( 1515): Package Manager
I/Installer( 1515): connecting...
W/PackageManager( 1515): Running ENG build: no pre-dexopt!
E/PackageManager( 1515): Package com.android.providers.contacts has no signatures that match those in shared user android.uid.shared; ignoring!
E/PackageManager( 1515): Package com.google.android.backup has no signatures that match those in shared user android.uid.system; ignoring!
E/PackageManager( 1515): Package com.android.providers.telocation has no signatures that match those in shared user android.uid.system; ignoring!
E/PackageManager( 1515): Package com.android.providers.downloads has no signatures that match those in shared user android.media; ignoring!
E/PackageManager( 1515): Package com.android.contacts has no signatures that match those in shared user android.uid.shared; ignoring!
E/PackageManager( 1515): Package com.cyanogenmod.LGEServices has no signatures that match those in shared user android.uid.system; ignoring!
E/PackageManager( 1515): Package com.android.providers.downloads.ui has no signatures that match those in shared user android.media; ignoring!
E/PackageManager( 1515): Package com.android.updater has no signatures that match those in shared user android.uid.updater; ignoring!
E/PackageManager( 1515): Package com.android.providers.drm has no signatures that match those in shared user android.media; ignoring!
E/PackageManager( 1515): Package com.android.providers.applications has no signatures that match those in shared user android.uid.shared; ignoring!
I/PackageManager( 1515): Time to scan packages: 1.336 seconds
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.launcher
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.defcontainer
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_ALL_DOWNLOADS in package com.android.defcontainer
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.vending.updater
W/PackageManager( 1515): Unknown permission com.android.vending.permission.UPDATE_MARKET_FAILURE in package com.android.vending.updater
W/PackageManager( 1515): Unknown permission android.permission.ADD_SYSTEM_SERVICE in package com.android.phone
W/PackageManager( 1515): Unknown permission android.permission.WRITE_INTERNAL_STORAGE in package com.miui.player
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.miui.player
W/PackageManager( 1515): Unknown permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS in package com.android.browser
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.browser
W/PackageManager( 1515): Unknown permission android.permission.INSTALL_DRM in package com.android.mms
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.thememanager
W/PackageManager( 1515): Unknown permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS in package com.android.thememanager
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.gallery
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.settings
W/PackageManager( 1515): Unknown permission android.permission.READ_EXTERNAL_STORAGE in package com.android.vending
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.android.vending
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED in package com.android.vending
W/PackageManager( 1515): Unknown permission android.permission.SEND_DOWNLOAD_COMPLETED_INTENTS in package com.android.vending
W/PackageManager( 1515): Unknown permission com.google.android.voicesearch.AUDIO_FILE_ACCESS in package com.google.android.gm
W/PackageManager( 1515): Unknown permission android.permission.READ_OWNER_DATA in package com.android.email
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER in package com.google.android.gsf
W/PackageManager( 1515): Unknown permission android.permission.ACCESS_DOWNLOAD_MANAGER_ADVANCED in package com.google.android.gsf
I/SystemServer( 1515): Telephony Registry
I/SystemServer( 1515): Account Manager
I/SystemServer( 1515): Content Manager
I/SystemServer( 1515): System Content Providers
I/SystemServer( 1515): Battery Service
I/SystemServer( 1515): Lights Service
I/SystemServer( 1515): Vibrator Service
I/SystemServer( 1515): Alarm Manager
I/SystemServer( 1515): Init Watchdog
I/SystemServer( 1515): Window Manager
I/InputManager( 1515): Initializing input manager
I/InputManager( 1515): Starting input manager
I/SystemServer( 1515): Bluetooth Service
I/SystemServer( 1515): Device Policy
I/SystemServer( 1515): Status Bar
I/SystemServer( 1515): Clipboard Service
I/SystemServer( 1515): Input Method Service
I/InputManagerService( 1515): Enabled input methods: com.android.inputmethod.latin/.LatinIME
I/SystemServer( 1515): NetStat Service
I/SystemServer( 1515): NetworkManagement Service
I/SystemServer( 1515): Connectivity Service
I/WifiService( 1515): WifiService starting up with Wi-Fi disabled
D/NetworkManagmentService( 1515): Registering observer
I/SystemServer( 1515): Throttle Service
I/SystemServer( 1515): Accessibility Manager
I/SystemServer( 1515): Mount Service
I/SystemServer( 1515): Notification Manager
I/SystemServer( 1515): Device Storage Monitor
I/SystemServer( 1515): Location Manager
D/VoldCmdListener( 1008): volume list
I/SystemServer( 1515): Search Service
I/SystemServer( 1515): DropBox Service
D/VoldCmdListener( 1008): share status ums
I/SystemServer( 1515): Wallpaper Service
I/SystemServer( 1515): Audio Service
I/SystemServer( 1515): Headset Observer
I/SystemServer( 1515): Dock Observer
I/SystemServer( 1515): USB Service
I/SystemServer( 1515): UI Mode Manager Service
I/SystemServer( 1515): Backup Service
V/BackupManagerService( 1515): No ancestral data
I/BackupManagerService( 1515): Found stale backup journal, scheduling
I/BackupManagerService( 1515): android
I/BackupManagerService( 1515): com.android.inputmethod.latin
I/BackupManagerService( 1515): com.android.providers.settings
I/BackupManagerService( 1515): com.android.providers.userdictionary
I/BackupManagerService( 1515): com.android.vending
I/BackupManagerService( 1515): Backup enabled => false
I/SystemServer( 1515): AppWidget Service
I/SystemServer( 1515): Recognition Service
I/SystemServer( 1515): DiskStats Service
D/PowerManagerService( 1515): system ready!
I/ActivityManager( 1515): System now ready
I/SystemServer( 1515): Making services ready
I/StatusBarManagerService( 1515): Starting service: ComponentInfo{com.android.systemui/com.android.systemui.statusbar.StatusBarService}
I/ActivityManager( 1515): Start proc com.android.systemui for service com.android.systemui/.statusbar.StatusBarService: pid=1712 uid=1000 gids={3002, 3001, 3003}
I/ActivityManager( 1515): Config changed: { scale=1.0 fontSize=2 themeChanged=0 themeChangedFlags=0 imsi=0/0 loc=es_ES touch=0 keys=0/0/0 nav=0/0 orien=0 layout=0 uiMode=17 seq=2}
W/RecognitionManagerService( 1515): no available voice recognition services found
I/ActivityManager( 1515): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=1725 uid=10019 gids={}
D/NetworkManagmentService( 1515): Registering observer
I/InputManager-Callbacks( 1515): No input device calibration properties found for device tegra-kbc.
I/InputManager-Callbacks( 1515): No input device calibration properties found for device nvodm_touch.
I/InputManager-Callbacks( 1515): No input device calibration properties found for device proximity.
I/ActivityManager( 1515): Start proc com.android.phone for added application com.android.phone: pid=1738 uid=1001 gids={1015, 3002, 3001, 3003}
I/InputManager-Callbacks( 1515): No input device calibration properties found for device powerkey.
I/InputManager-Callbacks( 1515): No input device calibration properties found for device cp_watcher.
I/InputManager-Callbacks( 1515): No input device calibration properties found for device hall_ic.
I/InputManager-Callbacks( 1515): No input device calibration properties found for device star_headset_hook.
I/ActivityManager( 1515): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10000000 cmp=com.android.launcher/com.android.launcher2.Launcher } from pid 0
I/ActivityManager( 1515): Start proc com.android.launcher for activity com.android.launcher/com.android.launcher2.Launcher: pid=1760 uid=10013 gids={1015, 3003}
[COLOR="Red"]E/AndroidRuntime( 1712): FATAL EXCEPTION: main
E/AndroidRuntime( 1712): java.lang.RuntimeException: Unable to create service com.android.systemui.statusbar.StatusBarService: android.view.InflateException: You must specifiy a valid layout reference. The layout ID @layout/status_bar_expanded_notifications is not valid[/COLOR].
E/AndroidRuntime( 1712): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1972)
E/AndroidRuntime( 1712): at android.app.ActivityThread.access$2500(ActivityThread.java:117)
E/AndroidRuntime( 1712): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:985)
E/AndroidRuntime( 1712): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1712): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1712): at android.app.ActivityThread.main(ActivityThread.java:3703)
E/AndroidRuntime( 1712): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1712): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1712): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1712): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1712): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1712): Caused by: android.view.InflateException: You must specifiy a valid layout reference. The layout ID @layout/status_bar_expanded_notifications is not valid.
E/AndroidRuntime( 1712): at android.view.LayoutInflater.parseInclude(LayoutInflater.java:658)
E/AndroidRuntime( 1712): at android.view.LayoutInflater.rInflate(LayoutInflater.java:619)
E/AndroidRuntime( 1712): at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
E/AndroidRuntime( 1712): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 1712): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 1712): at android.view.View.inflate(View.java:8857)
E/AndroidRuntime( 1712): at com.android.systemui.statusbar.StatusBarService.makeStatusBarView(StatusBarService.java:334)
E/AndroidRuntime( 1712): at com.android.systemui.statusbar.StatusBarService.onCreate(StatusBarService.java:257)
E/AndroidRuntime( 1712): at android.app.ActivityThread.handleCreateService(ActivityThread.java:1962)
E/AndroidRuntime( 1712): ... 10 more
I/ActivityManager( 1515): Start proc android.process.acore for content provider com.android.providers.userdictionary/.UserDictionaryProvider: pid=1789 uid=10011 gids={}
E/AndroidRuntime( 1515): *** FATAL EXCEPTION IN SYSTEM PROCESS: ActivityManager
E/AndroidRuntime( 1515): java.lang.RuntimeException: Binary XML file line #21: You must supply a layout_width attribute.
E/AndroidRuntime( 1515): at android.content.res.TypedArray.getLayoutDimension(TypedArray.java:491)
E/AndroidRuntime( 1515): at android.view.ViewGroup$LayoutParams.setBaseAttributes(ViewGroup.java:3646)
E/AndroidRuntime( 1515): at android.view.ViewGroup$MarginLayoutParams.<init>(ViewGroup.java:3726)
E/AndroidRuntime( 1515): at android.widget.LinearLayout$LayoutParams.<init>(LinearLayout.java:1400)
E/AndroidRuntime( 1515): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:1326)
E/AndroidRuntime( 1515): at android.widget.LinearLayout.generateLayoutParams(LinearLayout.java:47)
E/AndroidRuntime( 1515): at android.view.LayoutInflater.rInflate(LayoutInflater.java:625)
E/AndroidRuntime( 1515): at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
E/AndroidRuntime( 1515): at android.view.LayoutInflater.rInflate(LayoutInflater.java:626)
E/AndroidRuntime( 1515): at android.view.LayoutInflater.inflate(LayoutInflater.java:408)
E/AndroidRuntime( 1515): at android.view.LayoutInflater.inflate(LayoutInflater.java:320)
E/AndroidRuntime( 1515): at android.view.LayoutInflater.inflate(LayoutInflater.java:276)
E/AndroidRuntime( 1515): at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:212)
E/AndroidRuntime( 1515): at com.android.internal.app.AlertController.installContent(AlertController.java:219)
E/AndroidRuntime( 1515): at android.app.AlertDialog.onCreate(AlertDialog.java:285)
E/AndroidRuntime( 1515): at android.app.Dialog.dispatchOnCreate(Dialog.java:307)
E/AndroidRuntime( 1515): at android.app.Dialog.show(Dialog.java:225)
E/AndroidRuntime( 1515): at com.android.server.am.ActivityManagerService$3.handleMessage(ActivityManagerService.java:1062)
E/AndroidRuntime( 1515): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1515): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1515): at com.android.server.am.ActivityManagerService$AThread.run(ActivityManagerService.java:1529)
E/ActivityThread( 1725): Failed to find provider info for com.android.contacts
I/ActivityThread( 1712): Removing dead content provider: settings
E/AndroidRuntime( 1712): Error reporting crash
E/AndroidRuntime( 1712): android.os.DeadObjectException
E/AndroidRuntime( 1712): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1712): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2555)
E/AndroidRuntime( 1712): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 1712): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1712): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 1712): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1760): FATAL EXCEPTION: main
E/AndroidRuntime( 1760): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.android.launcher/com.android.launcher2.Launcher}: java.lang.NullPointerException
E/AndroidRuntime( 1760): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1664)
E/AndroidRuntime( 1760): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1680)
E/AndroidRuntime( 1760): at android.app.ActivityThread.access$1500(ActivityThread.java:117)
E/AndroidRuntime( 1760): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:931)
E/AndroidRuntime( 1760): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1760): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1760): at android.app.ActivityThread.main(ActivityThread.java:3703)
E/AndroidRuntime( 1760): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1760): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1760): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1760): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1760): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1760): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1760): at android.content.ContentResolver.registerContentObserver(ContentResolver.java:839)
E/AndroidRuntime( 1760): at com.android.launcher2.Launcher.registerContentObservers(Launcher.java:1244)
E/AndroidRuntime( 1760): at com.android.launcher2.Launcher.onCreate(Launcher.java:225)
E/AndroidRuntime( 1760): at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1047)
E/AndroidRuntime( 1760): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1628)
E/AndroidRuntime( 1760): ... 11 more
E/AndroidRuntime( 1760): Error reporting crash
E/AndroidRuntime( 1760): android.os.DeadObjectException
E/AndroidRuntime( 1760): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1760): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2555)
E/AndroidRuntime( 1760): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 1760): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1760): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 1760): at dalvik.system.NativeStart.main(Native Method)
I/ActivityThread( 1725): Removing dead content provider: settings
E/AndroidRuntime( 1738): FATAL EXCEPTION: main
E/AndroidRuntime( 1738): java.lang.AssertionError: android.os.DeadObjectException
E/AndroidRuntime( 1738): at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:332)
E/AndroidRuntime( 1738): at android.app.LoadedApk.getClassLoader(LoadedApk.java:291)
E/AndroidRuntime( 1738): at android.app.ContextImpl.getClassLoader(ContextImpl.java:307)
E/AndroidRuntime( 1738): at android.app.ActivityThread.installProvider(ActivityThread.java:3561)
E/AndroidRuntime( 1738): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3329)
E/AndroidRuntime( 1738): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3285)
E/AndroidRuntime( 1738): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 1738): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 1738): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 1738): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 1738): at android.app.ActivityThread.main(ActivityThread.java:3703)
E/AndroidRuntime( 1738): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1738): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 1738): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 1738): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 1738): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 1738): Caused by: android.os.DeadObjectException
E/AndroidRuntime( 1738): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1738): at android.content.pm.IPackageManager$Stub$Proxy.getPackageInfo(IPackageManager.java:1202)
E/AndroidRuntime( 1738): at android.app.LoadedApk.initializeJavaContextClassLoader(LoadedApk.java:330)
E/AndroidRuntime( 1738): ... 15 more
E/AndroidRuntime( 1738): Error reporting crash
E/AndroidRuntime( 1738): android.os.DeadObjectException
E/AndroidRuntime( 1738): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1738): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2555)
E/AndroidRuntime( 1738): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 1738): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1738): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
E/AndroidRuntime( 1738): at dalvik.system.NativeStart.main(Native Method)
E/ActivityThread( 1725): Failed to find provider info for user_dictionary
E/AndroidRuntime( 1725): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime( 1725): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime( 1725): at android.os.AsyncTask$3.done(AsyncTask.java:200)
E/AndroidRuntime( 1725): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:274)
E/AndroidRuntime( 1725): at java.util.concurrent.FutureTask.setException(FutureTask.java:125)
E/AndroidRuntime( 1725): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:308)
E/AndroidRuntime( 1725): at java.util.concurrent.FutureTask.run(FutureTask.java:138)
E/AndroidRuntime( 1725): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1088)
E/AndroidRuntime( 1725): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:581)
E/AndroidRuntime( 1725): at java.lang.Thread.run(Thread.java:1019)
E/AndroidRuntime( 1725): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 1725): at com.android.inputmethod.latin.UserDictionary.addWords(UserDictionary.java:124)
E/AndroidRuntime( 1725): at com.android.inputmethod.latin.UserDictionary.loadDictionaryAsync(UserDictionary.java:71)
E/AndroidRuntime( 1725): at com.android.inputmethod.latin.ExpandableDictionary$LoadDictionaryTask.doInBackground(ExpandableDictionary.java:498)
E/AndroidRuntime( 1725): at com.android.inputmethod.latin.ExpandableDictionary$LoadDictionaryTask.doInBackground(ExpandableDictionary.java:495)
E/AndroidRuntime( 1725): at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime( 1725): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:306)
E/AndroidRuntime( 1725): ... 4 more
E/AndroidRuntime( 1725): Error reporting crash
E/AndroidRuntime( 1725): android.os.DeadObjectException
E/AndroidRuntime( 1725): at android.os.BinderProxy.transact(Native Method)
E/AndroidRuntime( 1725): at android.app.ActivityManagerProxy.handleApplicationCrash(ActivityManagerNative.java:2555)
E/AndroidRuntime( 1725): at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:76)
E/AndroidRuntime( 1725): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:854)
E/AndroidRuntime( 1725): at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:851)
I/SystemServer( 1819): Entered the Android system server!
first go in to recovery and in to advanced and wipe
SYSTEM
data
cache
dalvik
make sure u wipe system
also make sure that u have the right file system for the rom (ext3 or ext4)
this should fix it up
reaper7881 said:
first go in to recovery and in to advanced and wipe
SYSTEM
data
cache
dalvik
make sure u wipe system
also make sure that u have the right file system for the rom (ext3 or ext4)
this should fix it up
Click to expand...
Click to collapse
That fixed it! Thanks reaper7881!

Contacts not opening

Somebody please help me, im using Helly Bean 4.2 built of 02 December.... and everytime i try to open the Contacts App, it FC and i don't know why... Here is the logcat
Sorry for my english, i'm Mexican
Logcat
Code:
I/ActivityManager( 397): START u0 {act=android.intent.action.MAIN cat=[android.
intent.category.LAUNCHER] flg=0x10200000 cmp=com.android.contacts/.activities.Pe
opleActivity bnds=[120,700][240,772]} from pid 611
I/ActivityManager( 397): Start proc com.android.contacts for activity com.andro
id.contacts/.activities.PeopleActivity: pid=32628 uid=10001 gids={50001, 3003, 1
015, 1028}
E/dalvikvm(32628): Dex cache directory isn't writable: /data/dalvik-cache
I/dalvikvm(32628): Unable to open or create cache for /system/app/Contacts.apk (
/data/dalvik-cache/[email protected]@[email protected])
D/AndroidRuntime(32628): Shutting down VM
W/dalvikvm(32628): threadid=1: thread exiting with uncaught exception (group=0x4
0d37930)
E/AndroidRuntime(32628): FATAL EXCEPTION: main
E/AndroidRuntime(32628): java.lang.RuntimeException: Unable to instantiate appli
cation com.android.contacts.ContactsApplication: java.lang.ClassNotFoundExceptio
n: Didn't find class "com.android.contacts.ContactsApplication" on path: /system
/app/Contacts.apk
E/AndroidRuntime(32628): at android.app.LoadedApk.makeApplication(LoadedA
pk.java:504)
E/AndroidRuntime(32628): at android.app.ActivityThread.handleBindApplicat
ion(ActivityThread.java:4516)
E/AndroidRuntime(32628): at android.app.ActivityThread.access$1300(Activi
tyThread.java:150)
E/AndroidRuntime(32628): at android.app.ActivityThread$H.handleMessage(Ac
tivityThread.java:1304)
E/AndroidRuntime(32628): at android.os.Handler.dispatchMessage(Handler.ja
va:99)
E/AndroidRuntime(32628): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime(32628): at android.app.ActivityThread.main(ActivityThrea
d.java:5191)
E/AndroidRuntime(32628): at java.lang.reflect.Method.invokeNative(Native
Method)
E/AndroidRuntime(32628): at java.lang.reflect.Method.invoke(Method.java:5
11)
E/AndroidRuntime(32628): at com.android.internal.os.ZygoteInit$MethodAndA
rgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime(32628): at com.android.internal.os.ZygoteInit.main(Zygot
eInit.java:562)
E/AndroidRuntime(32628): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime(32628): Caused by: java.lang.ClassNotFoundException: Didn't fin
d class "com.android.contacts.ContactsApplication" on path: /system/app/Contacts
.apk
E/AndroidRuntime(32628): at dalvik.system.BaseDexClassLoader.findClass(Ba
seDexClassLoader.java:65)
E/AndroidRuntime(32628): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:501)
E/AndroidRuntime(32628): at java.lang.ClassLoader.loadClass(ClassLoader.j
ava:461)
E/AndroidRuntime(32628): at android.app.Instrumentation.newApplication(In
strumentation.java:968)
E/AndroidRuntime(32628): at android.app.LoadedApk.makeApplication(LoadedA
pk.java:499)
E/AndroidRuntime(32628): ... 11 more
W/ActivityManager( 397): Force finishing activity com.android.contacts/.activ
ities.PeopleActivity
D/dalvikvm( 397): GC_CONCURRENT freed 1949K, 20% free 15713K/19616K, paused 9ms
+18ms, total 196ms
W/ActivityManager( 397): Activity pause timeout for ActivityRecord{41897848 u0
com.android.contacts/.activities.PeopleActivity}
W/ActivityManager( 397): Activity destroy timeout for ActivityRecord{41897848 u
0 com.android.contacts/.activities.PeopleActivity}

When Starting My Application I Get Runtime Errors

Errors
I wanted to start my Application but i got this error code(s):
08-25 14:33:37.861 8987-8987/com.example.max.mediaplayermitlistview E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.max.mediaplayermitlistview, PID: 8987
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.max.mediaplayermitlistview/com.example.max.mediaplayermitlistview.Player}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.example.max.mediaplayermitlistview.Player.onCreate(Player.java:77)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
************at android.app.ActivityThread.access$900(ActivityThread.java:169)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:136)
************at android.app.ActivityThread.main(ActivityThread.java:5476)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:515)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
************at dalvik.system.NativeStart.main(Native Method)
Can you explain me what this error code means (where in the application the error is)?
Andorid Studio Version?
deviceChecker said:
I wanted to start my Application but i got this error code(s):
08-25 14:33:37.861 8987-8987/com.example.max.mediaplayermitlistview E/AndroidRuntime﹕ FATAL EXCEPTION: main
Process: com.example.max.mediaplayermitlistview, PID: 8987
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.max.mediaplayermitlistview/com.example.max.mediaplayermitlistview.Player}: java.lang.NullPointerException
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access$900(ActivityThread.java:169)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.NullPointerException
at com.example.max.mediaplayermitlistview.Player.onCreate(Player.java:77)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
************at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
************at android.app.ActivityThread.access$900(ActivityThread.java:169)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:136)
************at android.app.ActivityThread.main(ActivityThread.java:5476)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:515)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
************at dalvik.system.NativeStart.main(Native Method)
Can you explain me what this error code means (where in the application the error is)?
Click to expand...
Click to collapse
thi is Android Studio Version???
h3r102 said:
thi is Android Studio Version???
Click to expand...
Click to collapse
I have the Android Studio Version 1.3.1 Build #AI-141.135290, built on August 3,2015
"Caused by: java.lang.NullPointerException
at com.example.max.mediaplayermitlistview.Player.onCr eate(Player.java:77)"
Looks like in your Player class, on line 77, you're referencing something that doesn't exist yet. Like maybe you're inflating a layout that hasn't been defined in the xml file. Maybe something like that.
FATAL EXCEPTION: main
Process: com.example.max.mediaplayermitlistview, PID: 8987
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.max.mediaplayermitlistview/com.example.max.mediaplayermitlistview.Player}: java.lang.NullPointerException
( at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2328)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
at android.app.ActivityThread.access-$900(ActivityThread.java:169)
at android.app.ActivityThread-$H.handleMessage(ActivityThread.java:1277)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:136)
at android.app.ActivityThread.main(ActivityThread.java:5476)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283 : Init:Method.Java:525)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099 return Method:515)
at dalvik.system.NativeStart.main(Native Method));
Caused by: java.lang.NullPointerException
( at com.example.max.mediaplayermitlistview.Player.onCreate(Player.java:77)
at android.app.Activity.performCreate(Activity.java:5451)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1093)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2292)
/*at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2386)
************at android.app.ActivityThread.access$900(ActivityThread.java:169)
************at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1277)
************at android.os.Handler.dispatchMessage(Handler.java:102)
************at android.os.Looper.loop(Looper.java:136)
************at android.app.ActivityThread.main(ActivityThread.java:5476)
************at java.lang.reflect.Method.invokeNative(Native Method)
************at java.lang.reflect.Method.invoke(Method.java:515)
************at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
************at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
************at dalvik.system.NativeStart.main(Native Method) (NOT REQUIRED) */

Categories

Resources