New Redmi 5 process crash when searching for duplicated contacts


Issam-khalaf

Members
Sep 15, 2018
49
20
java.lang.RuntimeException: An error occurred while executing doInBackground()
at android.os.AsyncTask$3.done(Unknown Source:28)
at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383)
at java.util.concurrent.FutureTask.setException(FutureTask.java:252)
at java.util.concurrent.FutureTask.run(FutureTask.java:271)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
at java.lang.Thread.run(Thread.java:764)
Caused by: java.lang.NullPointerException: Attempt to read from field 'long com.android.contacts.util.ContactsLinker$DataItem.rawContactId' on a null object reference
at com.android.contacts.util.ContactsLinker.addRawContactDataItem(Unknown Source:0)
at com.android.contacts.util.ContactsLinker.queryRawContactData(Unknown Source:38)
at com.android.contacts.util.ContactsLinker.linkContacts(Unknown Source:62)
at com.android.contacts.preference.ScanContactsLoader.loadInBackground(Unknown Source:14)
at com.android.contacts.preference.ScanContactsLoader.loadInBackground(Unknown Source:0)
at android.content.AsyncTaskLoader.onLoadInBackground(Unknown Source:0)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(Unknown Source:2)
at android.content.AsyncTaskLoader$LoadTask.doInBackground(Unknown Source:2)
at android.os.AsyncTask$2.call(Unknown Source:20)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
... 3 more


Sent from my Redmi 5 using Tapatalk