Hi;
I'm trying to build the Android 2.3.3 for Nexus One (HTC Passion) on my Ubuntu 10.04 64 bit machine. I first ran the extract-files.sh and get all the proprietary files from the HTC Passion device which
was loaded with Android 2.3.3. I could successfully build the code and flashed the boot, recovery, system and userdata images to the device. But when I booted the device I got endless loop:
12-09 01:27:06.664: E/NetdConnector(114): Communications error
12-09 01:27:06.664: E/NetdConnector(114): java.io.IOException: No such file or directory
12-09 01:27:06.664: E/NetdConnector(114): at android.net.LocalSocketImpl.connectLocal(Native Method)
12-09 01:27:06.664: E/NetdConnector(114): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
12-09 01:27:06.664: E/NetdConnector(114): at android.net.LocalSocket.connect(LocalSocket.java:98)
12-09 01:27:06.664: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:99)
12-09 01:27:06.664: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:83)
12-09 01:27:06.664: E/NetdConnector(114): at java.lang.Thread.run(Thread.java:1019)
12-09 01:27:06.667: E/NetdConnector(114): Error in NativeDaemonConnector
12-09 01:27:06.667: E/NetdConnector(114): java.io.IOException: No such file or directory
12-09 01:27:06.667: E/NetdConnector(114): at android.net.LocalSocketImpl.connectLocal(Native Method)
12-09 01:27:06.667: E/NetdConnector(114): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
12-09 01:27:06.667: E/NetdConnector(114): at android.net.LocalSocket.connect(LocalSocket.java:98)
12-09 01:27:06.667: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:99)
12-09 01:27:06.667: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:83)
12-09 01:27:06.667: E/NetdConnector(114): at java.lang.Thread.run(Thread.java:1019)
I google many hours and couldn't get any help.
Could someone help for this problem ?
Very appreciated.
JSC
Related
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.
My setup is
Phone: ADP1 (DREAM PVT 32B SHIP S-ON CPLD-4)
ROM: ADS_magpie-20110729
Recovery: RA-dream-v1.7.0
Radio: 2.22.28.25
Spl:1.33.0013d
SD: 8GB = 128MB swap / 512MB ext4 / FAT
I'm evaluating the ADS_magpie-20110729-signed.zip (ptth://dl.dropbox.com/u/9870397/android/ADS_magpie/index.html) and run into error messages "android.process.acore stopped unexpectedly".
I've also the whole logcat is at (ptth://bit.ly/q2JX0H):
Code:
I/SurfaceFlinger( 174): Boot is finished (26574 ms)
I/PowerWidget( 232): Clearing any old widget stuffs
I/PowerWidget( 232): Setting up widget
I/PowerWidget( 232): Default buttons being loaded
I/PowerWidget( 232): Button list: wifi|bluetooth|gps|sound
I/PowerWidget( 232): Setting up button: wifi
I/PowerWidget( 232): Setting up button: bluetooth
I/PowerWidget( 232): Setting up button: gps
I/PowerWidget( 232): Setting up button: sound
D/GpsLocationProvider( 174): set_capabilities_callback: 6
E/ContactsProvider( 301): Cannot start provider
E/ContactsProvider( 301): java.lang.StringIndexOutOfBoundsException
E/ContactsProvider( 301): at java.lang.String.substring(String.java:1651)
E/ContactsProvider( 301): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:69)
E/ContactsProvider( 301): at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:41)
E/ContactsProvider( 301): at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1149)
E/ContactsProvider( 301): at com.android.providers.contacts.ContactsDatabaseHelper.onOpen(ContactsDatabaseHelper.java:556)
E/ContactsProvider( 301): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:141)
E/ContactsProvider( 301): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2550)
E/ContactsProvider( 301): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
E/ContactsProvider( 301): at com.android.providers.contacts.LegacyApiSupport.<init>(LegacyApiSupport.java:525)
E/ContactsProvider( 301): at com.android.providers.contacts.ContactsProvider2.initialize(ContactsProvider2.java:1876)
E/ContactsProvider( 301): at com.android.providers.contacts.ContactsProvider2.onCreate(ContactsProvider2.java:1865)
E/ContactsProvider( 301): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/ContactsProvider( 301): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/ContactsProvider( 301): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/ContactsProvider( 301): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/ContactsProvider( 301): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/ContactsProvider( 301): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/ContactsProvider( 301): at android.os.Handler.dispatchMessage(Handler.java:99)
E/ContactsProvider( 301): at android.os.Looper.loop(Looper.java:130)
E/ContactsProvider( 301): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/ContactsProvider( 301): at java.lang.reflect.Method.invokeNative(Native Method)
E/ContactsProvider( 301): at java.lang.reflect.Method.invoke(Method.java:507)
E/ContactsProvider( 301): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/ContactsProvider( 301): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/ContactsProvider( 301): at dalvik.system.NativeStart.main(Native Method)
I/ActivityThread( 301): Pub call_log: com.android.providers.contacts.CallLogProvider
D/dalvikvm( 265): GC_CONCURRENT freed 197K, 48% free 3008K/5703K, external 0K/0K, paused 95ms+36ms
W/ActivityManager( 174): finishReceiver called but active receiver is different
D/NetworkLocationService( 277): onBind com.google.android.location.NetworkLocationProvider
D/szipinf ( 174): Initializing inflate state
D/NetworkLocationService( 277): onBind com.google.android.location.GeocodeProvider
V/SipBroadcastReceiver( 265): start auto registration
D/AndroidRuntime( 301): Shutting down VM
W/dalvikvm( 301): threadid=1: thread exiting with uncaught exception (group=0x40194560)
D/dalvikvm( 277): GC_CONCURRENT freed 296K, 49% free 2939K/5703K, external 0K/0K, paused 7ms+80ms
D/OtaStartupReceiver( 265): Not a CDMA phone, no need to process OTA
E/AndroidRuntime( 301): FATAL EXCEPTION: main
E/AndroidRuntime( 301): java.lang.RuntimeException: Unable to get provider com.android.providers.contacts.CallLogProvider: java.lang.StringIndexOutOfBoundsException
E/AndroidRuntime( 301): at android.app.ActivityThread.installProvider(ActivityThread.java:3557)
E/AndroidRuntime( 301): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/AndroidRuntime( 301): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/AndroidRuntime( 301): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 301): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 301): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 301): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 301): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 301): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 301): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 301): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/AndroidRuntime( 301): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/AndroidRuntime( 301): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 301): Caused by: java.lang.StringIndexOutOfBoundsException
E/AndroidRuntime( 301): at java.lang.String.substring(String.java:1651)
E/AndroidRuntime( 301): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:69)
E/AndroidRuntime( 301): at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:41)
E/AndroidRuntime( 301): at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1149)
E/AndroidRuntime( 301): at com.android.providers.contacts.ContactsDatabaseHelper.onOpen(ContactsDatabaseHelper.java:556)
E/AndroidRuntime( 301): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:141)
E/AndroidRuntime( 301): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2550)
E/AndroidRuntime( 301): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:79)
E/AndroidRuntime( 301): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/AndroidRuntime( 301): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/AndroidRuntime( 301): ... 12 more
D/PowerManagerService( 174): bootCompleted
...
Code:
D/AKMD ( 153): Compass OPEN
D/SurfaceFlinger( 174): Screen about to return, flinger = 0x1b49f0
I/InputReader( 174): Device reconfigured: id=0x10002, name=synaptics-rmi-touchscreen, display size is now 320x480
I/InputManager-Callbacks( 174): No virtual keys found for device synaptics-rmi-touchscreen.
D/PhoneInterfaceManager( 265): wait for done
I/ARMAssembler( 174): generated scanline__00000077:03010104_00000004_00000000 [ 22 ipp] (41 ins) at [0x47e341e8:0x47e3428c] in 3295899 ns
D/PhoneInterfaceManager( 265): SUPPLY_PIN_COMPLETE
D/PhoneInterfaceManager( 265): done
W/InputManagerService( 174): Window already focused, ignoring focus gain of: [email protected]
I/Process ( 301): Sending signal. PID: 301 SIG: 9
I/ActivityManager( 174): Process android.process.acore (pid 301) has died.
I/ActivityManager( 174): Start proc android.process.acore for restart android.process.acore: pid=533 uid=10013 gids={3003, 1015}
I/ActivityThread( 533): Pub com.android.launcher2.settings: com.android.launcher2.LauncherProvider
I/ActivityThread( 533): Pub com.android.social: com.android.providers.contacts.SocialProvider
D/dalvikvm( 533): GC_CONCURRENT freed 401K, 51% free 2814K/5639K, external 0K/0K, paused 13ms+7ms
I/ActivityThread( 533): Pub applications: com.android.providers.applications.ApplicationsProvider
I/ActivityThread( 533): Pub contacts;com.android.contacts: com.android.providers.contacts.ContactsProvider2
E/ContactsProvider( 533): Cannot start provider
E/ContactsProvider( 533): java.lang.StringIndexOutOfBoundsException
E/ContactsProvider( 533): at java.lang.String.substring(String.java:1651)
E/ContactsProvider( 533): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:69)
E/ContactsProvider( 533): at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:41)
E/ContactsProvider( 533): at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1149)
E/ContactsProvider( 533): at com.android.providers.contacts.ContactsDatabaseHelper.onOpen(ContactsDatabaseHelper.java:556)
E/ContactsProvider( 533): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:141)
E/ContactsProvider( 533): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2550)
E/ContactsProvider( 533): at android.database.sqlite.SQLiteOpenHelper.getReadableDatabase(SQLiteOpenHelper.java:187)
E/ContactsProvider( 533): at com.android.providers.contacts.LegacyApiSupport.<init>(LegacyApiSupport.java:525)
E/ContactsProvider( 533): at com.android.providers.contacts.ContactsProvider2.initialize(ContactsProvider2.java:1876)
E/ContactsProvider( 533): at com.android.providers.contacts.ContactsProvider2.onCreate(ContactsProvider2.java:1865)
E/ContactsProvider( 533): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/ContactsProvider( 533): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/ContactsProvider( 533): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/ContactsProvider( 533): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/ContactsProvider( 533): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/ContactsProvider( 533): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/ContactsProvider( 533): at android.os.Handler.dispatchMessage(Handler.java:99)
E/ContactsProvider( 533): at android.os.Looper.loop(Looper.java:130)
E/ContactsProvider( 533): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/ContactsProvider( 533): at java.lang.reflect.Method.invokeNative(Native Method)
E/ContactsProvider( 533): at java.lang.reflect.Method.invoke(Method.java:507)
E/ContactsProvider( 533): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/ContactsProvider( 533): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/ContactsProvider( 533): at dalvik.system.NativeStart.main(Native Method)
I/ActivityThread( 533): Pub call_log: com.android.providers.contacts.CallLogProvider
D/AndroidRuntime( 533): Shutting down VM
W/dalvikvm( 533): threadid=1: thread exiting with uncaught exception (group=0x40194560)
E/AndroidRuntime( 533): FATAL EXCEPTION: main
E/AndroidRuntime( 533): java.lang.RuntimeException: Unable to get provider com.android.providers.contacts.CallLogProvider: java.lang.StringIndexOutOfBoundsException
E/AndroidRuntime( 533): at android.app.ActivityThread.installProvider(ActivityThread.java:3557)
E/AndroidRuntime( 533): at android.app.ActivityThread.installContentProviders(ActivityThread.java:3309)
E/AndroidRuntime( 533): at android.app.ActivityThread.handleBindApplication(ActivityThread.java:3265)
E/AndroidRuntime( 533): at android.app.ActivityThread.access$2200(ActivityThread.java:117)
E/AndroidRuntime( 533): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:969)
E/AndroidRuntime( 533): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 533): at android.os.Looper.loop(Looper.java:130)
E/AndroidRuntime( 533): at android.app.ActivityThread.main(ActivityThread.java:3683)
E/AndroidRuntime( 533): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 533): at java.lang.reflect.Method.invoke(Method.java:507)
E/AndroidRuntime( 533): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:845)
E/AndroidRuntime( 533): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:603)
E/AndroidRuntime( 533): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 533): Caused by: java.lang.StringIndexOutOfBoundsException
E/AndroidRuntime( 533): at java.lang.String.substring(String.java:1651)
E/AndroidRuntime( 533): at android.database.sqlite.SQLiteProgram.<init>(SQLiteProgram.java:69)
E/AndroidRuntime( 533): at android.database.sqlite.SQLiteStatement.<init>(SQLiteStatement.java:41)
E/AndroidRuntime( 533): at android.database.sqlite.SQLiteDatabase.compileStatement(SQLiteDatabase.java:1149)
E/AndroidRuntime( 533): at com.android.providers.contacts.ContactsDatabaseHelper.onOpen(ContactsDatabaseHelper.java:556)
E/AndroidRuntime( 533): at android.database.sqlite.SQLiteOpenHelper.getWritableDatabase(SQLiteOpenHelper.java:141)
E/AndroidRuntime( 533): at com.android.providers.contacts.ContactsDatabaseHelper.getWritableDatabase(ContactsDatabaseHelper.java:2550)
E/AndroidRuntime( 533): at com.android.providers.contacts.CallLogProvider.onCreate(CallLogProvider.java:79)
E/AndroidRuntime( 533): at android.content.ContentProvider.attachInfo(ContentProvider.java:798)
E/AndroidRuntime( 533): at android.app.ActivityThread.installProvider(ActivityThread.java:3554)
E/AndroidRuntime( 533): ... 12 more
W/ActivityManager( 174): Process android.process.acore has crashed too many times: killing!
W/ActivityManager( 174): Unable to launch app com.android.providers.contacts/10013 for provider com.android.contacts: launching app became null
I/Process ( 174): Sending signal. PID: 253 SIG: 9
I/ActivityManager( 174): Kill com.android.inputmethod.latin (pid 253): provider com.android.providers.contacts.ContactsProvider2 in dying process android.process.acore
I/Process ( 174): Sending signal. PID: 253 SIG: 9
I/Process ( 174): Sending signal. PID: 533 SIG: 9
W/ActivityManager( 174): Unable to launch app com.android.providers.userdictionary/10013 for provider user_dictionary: launching app became null
I/ActivityManager( 174): Kill com.android.inputmethod.latin (pid 253): provider com.android.providers.userdictionary.UserDictionaryProvider in dying process android.process.acore
W/ActivityManager( 174): Unable to launch app com.android.providers.contacts/10013 for provider call_log: launching app became null
E/ActivityThread( 265): Failed to find provider info for call_log
I/ActivityManager( 174): Process com.android.inputmethod.latin (pid 253) has died.
W/ActivityManager( 174): Scheduling restart of crashed service com.android.inputmethod.latin/.LatinIME in 5000ms
W/InputManagerService( 174): Session failed to close due to remote exception
W/InputManagerService( 174): android.os.DeadObjectException
W/InputManagerService( 174): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 174): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924)
W/InputManagerService( 174): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069)
W/InputManagerService( 174): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083)
W/InputManagerService( 174): at android.os.Handler.handleCallback(Handler.java:587)
W/InputManagerService( 174): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 174): at android.os.Looper.loop(Looper.java:130)
W/InputManagerService( 174): at com.android.server.ServerThread.run(SystemServer.java:557)
W/InputManagerService( 174): Session failed to close due to remote exception
W/InputManagerService( 174): android.os.DeadObjectException
W/InputManagerService( 174): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 174): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:907)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924)
W/InputManagerService( 174): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069)
W/InputManagerService( 174): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083)
W/InputManagerService( 174): at android.os.Handler.handleCallback(Handler.java:587)
W/InputManagerService( 174): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 174): at android.os.Looper.loop(Looper.java:130)
W/InputManagerService( 174): at com.android.server.ServerThread.run(SystemServer.java:557)
W/InputManagerService( 174): Session failed to close due to remote exception
W/InputManagerService( 174): android.os.DeadObjectException
W/InputManagerService( 174): at android.os.BinderProxy.transact(Native Method)
W/InputManagerService( 174): at com.android.internal.view.IInputMethodSession$Stub$Proxy.finishSession(IInputMethodSession.java:346)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.finishSession(InputMethodManagerService.java:896)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.clearCurMethodLocked(InputMethodManagerService.java:911)
W/InputManagerService( 174): at com.android.server.InputMethodManagerService.onServiceDisconnected(InputMethodManagerService.java:924)
W/InputManagerService( 174): at android.app.LoadedApk$ServiceDispatcher.doDeath(LoadedApk.java:1069)
W/InputManagerService( 174): at android.app.LoadedApk$ServiceDispatcher$RunConnection.run(LoadedApk.java:1083)
W/InputManagerService( 174): at android.os.Handler.handleCallback(Handler.java:587)
W/InputManagerService( 174): at android.os.Handler.dispatchMessage(Handler.java:92)
W/InputManagerService( 174): at android.os.Looper.loop(Looper.java:130)
W/InputManagerService( 174): at com.android.server.ServerThread.run(SystemServer.java:557)
I/ActivityManager( 174): Start proc com.android.inputmethod.latin for service com.android.inputmethod.latin/.LatinIME: pid=543 uid=10026 gids={}
Did you do a wipe before startup or did you do an update installation?
Seems to me, that the contacts provider could not be initialized correctly and due to that acore was crashing later on. The rest of the log looks fine to me.
i suggest you do a full wipe and re flash.
I'm using SuperWipe v2 (30 Jan 2011) and in rare situation Amon RA-dream-v1.7.0's Dalvik-cache wipe.
As I know there is no difference in using fastboot method.
Wipping does not solve the problem.
Did you try to wipe /sd-ext, too? Not sure if this might have an influence.
I've wiped the /sd-ext via RA-dream-v1.7.0 wipe too and the android.process.acore error disappeared.
On the other hand I've checked if SD-Ext is used in the settings, but it is not. I hope this is not a issue because APKs are stored within the FAT partition -- why is the EXT4 partition not seen?
Partition layout: 8GB = 128MB swap / 512MB ext4 / FAT created by RA-dream-v1.7.0
I've now new issues following thread [Q] ADS_magpie-20110729 + gapps-mdpi-gb-20110709: java/lang/NullPointerException
I assume that I run in low memory issues as mentioned here: http://forum.xda-developers.com/showpost.php?p=16856303&postcount=8
Using a 128MiB swap together with Ginger yoshi 1.4 fix 32a_b does not result in such errors.
Sorry, but I don't think it's a matter of swap / no swap, in contrary I would suggest to not enable swap when using this ROM. Seems to me as if your problem is related to failing NAND ... or your database is too new, i.e. your Gmail app installed is not able to read the format of the gmail data. Probably you had installed a newer version and you went back to a previous one.
Hi;
I'm trying to build the Android 2.3.3 for Nexus One (HTC Passion) on my Ubuntu 10.04 64 bit machine. I first ran the extract-files.sh and get all the proprietary files from the HTC Passion device which
was loaded with Android 2.3.3. I could successfully build the code and flashed the boot, recovery, system and userdata images to the device. But when I booted the device I got endless loop:
12-09 01:27:06.664: E/NetdConnector(114): Communications error
12-09 01:27:06.664: E/NetdConnector(114): java.io.IOException: No such file or directory
12-09 01:27:06.664: E/NetdConnector(114): at android.net.LocalSocketImpl.connectLocal(Native Method)
12-09 01:27:06.664: E/NetdConnector(114): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
12-09 01:27:06.664: E/NetdConnector(114): at android.net.LocalSocket.connect(LocalSocket.java:98)
12-09 01:27:06.664: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:99)
12-09 01:27:06.664: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:83)
12-09 01:27:06.664: E/NetdConnector(114): at java.lang.Thread.run(Thread.java:1019)
12-09 01:27:06.667: E/NetdConnector(114): Error in NativeDaemonConnector
12-09 01:27:06.667: E/NetdConnector(114): java.io.IOException: No such file or directory
12-09 01:27:06.667: E/NetdConnector(114): at android.net.LocalSocketImpl.connectLocal(Native Method)
12-09 01:27:06.667: E/NetdConnector(114): at android.net.LocalSocketImpl.connect(LocalSocketImpl.java:238)
12-09 01:27:06.667: E/NetdConnector(114): at android.net.LocalSocket.connect(LocalSocket.java:98)
12-09 01:27:06.667: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.listenToSocket(NativeDaemonConnector.java:99)
12-09 01:27:06.667: E/NetdConnector(114): at com.android.server.NativeDaemonConnector.run(NativeDaemonConnector.java:83)
12-09 01:27:06.667: E/NetdConnector(114): at java.lang.Thread.run(Thread.java:1019)
I google many hours and couldn't get any help.
Could someone help for this problem ?
Very appreciated.
JSC
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) */
I just started learning android studio from thenewboston but I'm stuck with this problem.I cant clone a device or create a new hardware profile from the avd manager.It shows an error message saying "null".I'm able to click next,finish and also select devices.Yes I did try cloning by right clicking the phone profile too but I got the same error.It does open the explorer to import hardware profiles though.Please help me for free kappa!(seriously please help me)
this is the error message details btw:
null
java.lang.NullPointerException
at com.android.tools.swing.util.FormScalingUtil.scaleComponent(FormScalingUtil.java:183)
at com.android.tools.swing.util.FormScalingUtil.scaleComponentTreeWorker(FormScalingUtil.java:140)
at com.android.tools.swing.util.FormScalingUtil.scaleComponentTree(FormScalingUtil.java:111)
at com.android.tools.swing.util.FormScalingUtil.scaleComponentTree(FormScalingUtil.java:98)
at com.android.tools.idea.avdmanager.ConfigureDeviceOptionsStep.<init>(ConfigureDeviceOptionsStep.java:97)
at com.android.tools.idea.avdmanager.CloneDeviceAction.actionPerformed(CloneDeviceAction.java:46)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:184)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:229)
at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:227)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:227)
at java.awt.Dialog.show(Dialog.java:1084)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:792)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:465)
at com.intellij.openapi.ui.DialogWrapper.invokeShow(DialogWrapper.java:1638)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1587)
at com.intellij.openapi.ui.DialogWrapper.showAndGet(DialogWrapper.java:1602)
at com.android.tools.idea.wizard.dynamic.DynamicWizard.showAndGet(DynamicWizard.java:531)
at com.android.tools.idea.avdmanager.CreateAvdAction.actionPerformed(CreateAvdAction.java:41)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
at java.awt.Component.processMouseEvent(Component.java:6535)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
at java.awt.Component.processEvent(Component.java:6300)
at java.awt.Container.processEvent(Container.java:2236)
at java.awt.Component.dispatchEventImpl(Component.java:4891)
at java.awt.Container.dispatchEventImpl(Container.java:2294)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4888)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4525)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4466)
at java.awt.Container.dispatchEventImpl(Container.java:2280)
at java.awt.Window.dispatchEventImpl(Window.java:2750)
at java.awt.Component.dispatchEvent(Component.java:4713)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.awt.EventQueue$4.run(EventQueue.java:731)
at java.awt.EventQueue$4.run(EventQueue.java:729)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:866)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:650)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:381)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)