I just bought an ASUS Transformer TF101. I set everything up, and suddenly found that my contacts manager application from Google was crashing with a “Force Close” button. I was very upset about that, so I tried to rectify it. I was getting the following error…
- The process android.process.acore has stopped unexpectedly. Please try again.
First I tried some suggestions to wipe the contact data by going into Settings->Application->Manage applications->All and then to force stop and wipe the data of the “Contacts” and “Contacts Storage” applications. This made the application sync the data from gmail again. I opened the contacts, and watched the data being synced live, and then suddenly a “Force Close” button pops up once again.
Then I decided to investigate using the “adb logcat” command using the Android Development environment. This resulted in the stack trace at the bottom of this page. This clued me in that there was something wrong with my contacts with photos. So, I went to gmail, removed all my photos from my contacts, and synced. This did not resolve the issue, but I was watching from within the contacts application, as the contacts were syncing, and saw that it was also showing my twitter contacts, with photos. Suddenly, the force close box came up again.
So, I simply uninstalled twitter, and all is now fine. I hope this helps someone resolve their issue.
E/AndroidRuntime( 8243): FATAL EXCEPTION: main E/AndroidRuntime( 8243): java.lang.NullPointerException: key == null || value == null E/AndroidRuntime( 8243): at android.util.LruCache.put(LruCache.java:146) E/AndroidRuntime( 8243): at com.android.contacts.ContactPhotoManagerImpl.loadCachedPhoto(ContactPhotoManager.java:291) E/AndroidRuntime( 8243): at com.android.contacts.ContactPhotoManagerImpl.loadPhotoByIdOrUri(ContactPhotoManager.java:248) E/AndroidRuntime( 8243): at com.android.contacts.ContactPhotoManagerImpl.loadPhoto(ContactPhotoManager.java:232) E/AndroidRuntime( 8243): at com.android.contacts.list.ContactListAdapter.bindPhoto(ContactListAdapter.java:256) E/AndroidRuntime( 8243): at com.android.contacts.list.DefaultContactListAdapter.bindView(DefaultContactListAdapter.java:224) E/AndroidRuntime( 8243): at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:392) E/AndroidRuntime( 8243): at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:341) E/AndroidRuntime( 8243): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220) E/AndroidRuntime( 8243): at android.widget.AbsListView.obtainView(AbsListView.java:1970) E/AndroidRuntime( 8243): at android.widget.ListView.makeAndAddView(ListView.java:1756) E/AndroidRuntime( 8243): at android.widget.ListView.fillDown(ListView.java:656) E/AndroidRuntime( 8243): at android.widget.ListView.fillSpecific(ListView.java:1314) E/AndroidRuntime( 8243): at android.widget.ListView.layoutChildren(ListView.java:1587) E/AndroidRuntime( 8243): at com.android.contacts.widget.AutoScrollListView.layoutChildren(AutoScrollListView.java:65) E/AndroidRuntime( 8243): at android.widget.AbsListView.onLayout(AbsListView.java:1800) E/AndroidRuntime( 8243): at com.android.contacts.widget.PinnedHeaderListView.onLayout(PinnedHeaderListView.java:125) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542) E/AndroidRuntime( 8243): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403) E/AndroidRuntime( 8243): at android.widget.LinearLayout.onLayout(LinearLayout.java:1314) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542) E/AndroidRuntime( 8243): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403) E/AndroidRuntime( 8243): at android.widget.LinearLayout.onLayout(LinearLayout.java:1314) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at com.android.contacts.widget.InterpolatingLayout.onLayout(InterpolatingLayout.java:309) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.widget.FrameLayout.onLayout(FrameLayout.java:400) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.widget.FrameLayout.onLayout(FrameLayout.java:400) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542) E/AndroidRuntime( 8243): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403) E/AndroidRuntime( 8243): at android.widget.LinearLayout.onLayout(LinearLayout.java:1314) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.widget.FrameLayout.onLayout(FrameLayout.java:400) E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588) E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877) E/AndroidRuntime( 8243): at android.view.ViewRoot.performTraversals(ViewRoot.java:1259) E/AndroidRuntime( 8243): at android.view.ViewRoot.handleMessage(ViewRoot.java:2009) E/AndroidRuntime( 8243): at android.os.Handler.dispatchMessage(Handler.java:99) E/AndroidRuntime( 8243): at android.os.Looper.loop(Looper.java:132) E/AndroidRuntime( 8243): at android.app.ActivityThread.main(ActivityThread.java:4025) E/AndroidRuntime( 8243): at java.lang.reflect.Method.invokeNative(Native Method) E/AndroidRuntime( 8243): at java.lang.reflect.Method.invoke(Method.java:491) E/AndroidRuntime( 8243): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841) E/AndroidRuntime( 8243): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599) E/AndroidRuntime( 8243): at dalvik.system.NativeStart.main(Native Method) W/ActivityManager( 143): Force finishing activity com.android.contacts/.activities.ContactBrowserActivity
E/AndroidRuntime( 8243): java.lang.NullPointerException: key == null || value == null
E/AndroidRuntime( 8243): at android.util.LruCache.put(LruCache.java:146)
E/AndroidRuntime( 8243): at com.android.contacts.ContactPhotoManagerImpl.loadCachedPhoto(ContactPhotoManager.java:291)
E/AndroidRuntime( 8243): at com.android.contacts.ContactPhotoManagerImpl.loadPhotoByIdOrUri(ContactPhotoManager.java:248)
E/AndroidRuntime( 8243): at com.android.contacts.ContactPhotoManagerImpl.loadPhoto(ContactPhotoManager.java:232)
E/AndroidRuntime( 8243): at com.android.contacts.list.ContactListAdapter.bindPhoto(ContactListAdapter.java:256)
E/AndroidRuntime( 8243): at com.android.contacts.list.DefaultContactListAdapter.bindView(DefaultContactListAdapter.java:224)
E/AndroidRuntime( 8243): at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:392)
E/AndroidRuntime( 8243): at com.android.common.widget.CompositeCursorAdapter.getView(CompositeCursorAdapter.java:341)
E/AndroidRuntime( 8243): at android.widget.HeaderViewListAdapter.getView(HeaderViewListAdapter.java:220)
E/AndroidRuntime( 8243): at android.widget.AbsListView.obtainView(AbsListView.java:1970)
E/AndroidRuntime( 8243): at android.widget.ListView.makeAndAddView(ListView.java:1756)
E/AndroidRuntime( 8243): at android.widget.ListView.fillDown(ListView.java:656)
E/AndroidRuntime( 8243): at android.widget.ListView.fillSpecific(ListView.java:1314)
E/AndroidRuntime( 8243): at android.widget.ListView.layoutChildren(ListView.java:1587)
E/AndroidRuntime( 8243): at com.android.contacts.widget.AutoScrollListView.layoutChildren(AutoScrollListView.java:65)
E/AndroidRuntime( 8243): at android.widget.AbsListView.onLayout(AbsListView.java:1800)
E/AndroidRuntime( 8243): at com.android.contacts.widget.PinnedHeaderListView.onLayout(PinnedHeaderListView.java:125)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at com.android.contacts.widget.InterpolatingLayout.onLayout(InterpolatingLayout.java:309)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1542)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1403)
E/AndroidRuntime( 8243): at android.widget.LinearLayout.onLayout(LinearLayout.java:1314)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.widget.FrameLayout.onLayout(FrameLayout.java:400)
E/AndroidRuntime( 8243): at android.view.View.layout(View.java:9588)
E/AndroidRuntime( 8243): at android.view.ViewGroup.layout(ViewGroup.java:3877)
E/AndroidRuntime( 8243): at android.view.ViewRoot.performTraversals(ViewRoot.java:1259)
E/AndroidRuntime( 8243): at android.view.ViewRoot.handleMessage(ViewRoot.java:2009)
E/AndroidRuntime( 8243): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 8243): at android.os.Looper.loop(Looper.java:132)
E/AndroidRuntime( 8243): at android.app.ActivityThread.main(ActivityThread.java:4025)
E/AndroidRuntime( 8243): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 8243): at java.lang.reflect.Method.invoke(Method.java:491)
E/AndroidRuntime( 8243): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
E/AndroidRuntime( 8243): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
E/AndroidRuntime( 8243): at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 143): Force finishing activity com.android.contacts/.activities.ContactBrowserActivity