java.lang.RuntimeException: An error occured while executing doInBackground()

JIRA | Ashish Pande | 2 years ago
  1. 0

    While dialing a number from history list, dialer crashed; here is the complete stack trace of exception occurred - 12-11 22:43:52.235 12380 12380 I Timeline: Timeline: Activity_launch_request id:com.android.dialer time:71839575 12-11 22:43:52.235 799 1230 I ActivityManager: START u0 {cmp=com.android.dialer/.callstats.CallStatsDetailActivity (has extras)} from pid 12380 12-11 22:43:52.385 24980 10464 E DatabaseUtils: Writing exception to parcel 12-11 22:43:52.385 24980 10464 E DatabaseUtils: java.lang.IllegalArgumentException: URI: content://com.android.contacts/phone_lookup/, calling user: com.android.dialer:10010, calling package is one of: [com.android.incallui, com.android.dialer] 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at com.android.providers.contacts.LegacyApiSupport.query(LegacyApiSupport.java:1914) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at com.android.providers.contacts.ContactsProvider2.queryLocal(ContactsProvider2.java:6383) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:4999) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:200) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:404) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at dalvik.system.NativeStart.run(Native Method) 12-11 22:43:52.385 12380 12409 W dalvikvm: threadid=12: thread exiting with uncaught exception (group=0x418e9db8) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1 12-11 22:43:52.405 12380 12409 E AndroidRuntime: Process: com.android.dialer, PID: 12380 12-11 22:43:52.405 12380 12409 E AndroidRuntime: java.lang.RuntimeException: An error occured while executing doInBackground() 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:300) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:222) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:242) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.lang.Thread.run(Thread.java:841) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: URI: content://com.android.contacts/phone_lookup/, calling user: com.android.dialer:10010, calling package is one of: [com.android.incallui, com.android.dialer] 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.content.ContentProviderProxy.query(ContentProviderNative.java:420) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.content.ContentResolver.query(ContentResolver.java:461) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.content.ContentResolver.query(ContentResolver.java:404) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.calllog.ContactInfoHelper.lookupContactFromUri(ContactInfoHelper.java:157) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.calllog.ContactInfoHelper.queryContactInfoForPhoneNumber(ContactInfoHelper.java:232) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.calllog.ContactInfoHelper.lookupNumber(ContactInfoHelper.java:90) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.callstats.CallStatsDetailActivity$UpdateContactTask.doInBackground(CallStatsDetailActivity.java:81) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.callstats.CallStatsDetailActivity$UpdateContactTask.doInBackground(CallStatsDetailActivity.java:79) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:288) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: ... 4 more

    JIRA | 2 years ago | Ashish Pande
    java.lang.RuntimeException: An error occured while executing doInBackground()
  2. 0

    While dialing a number from history list, dialer crashed; here is the complete stack trace of exception occurred - 12-11 22:43:52.235 12380 12380 I Timeline: Timeline: Activity_launch_request id:com.android.dialer time:71839575 12-11 22:43:52.235 799 1230 I ActivityManager: START u0 {cmp=com.android.dialer/.callstats.CallStatsDetailActivity (has extras)} from pid 12380 12-11 22:43:52.385 24980 10464 E DatabaseUtils: Writing exception to parcel 12-11 22:43:52.385 24980 10464 E DatabaseUtils: java.lang.IllegalArgumentException: URI: content://com.android.contacts/phone_lookup/, calling user: com.android.dialer:10010, calling package is one of: [com.android.incallui, com.android.dialer] 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at com.android.providers.contacts.LegacyApiSupport.query(LegacyApiSupport.java:1914) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at com.android.providers.contacts.ContactsProvider2.queryLocal(ContactsProvider2.java:6383) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at com.android.providers.contacts.ContactsProvider2.query(ContactsProvider2.java:4999) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at android.content.ContentProvider$Transport.query(ContentProvider.java:200) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:112) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at android.os.Binder.execTransact(Binder.java:404) 12-11 22:43:52.385 24980 10464 E DatabaseUtils: at dalvik.system.NativeStart.run(Native Method) 12-11 22:43:52.385 12380 12409 W dalvikvm: threadid=12: thread exiting with uncaught exception (group=0x418e9db8) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: FATAL EXCEPTION: AsyncTask #1 12-11 22:43:52.405 12380 12409 E AndroidRuntime: Process: com.android.dialer, PID: 12380 12-11 22:43:52.405 12380 12409 E AndroidRuntime: java.lang.RuntimeException: An error occured while executing doInBackground() 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.os.AsyncTask$3.done(AsyncTask.java:300) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:355) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.setException(FutureTask.java:222) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:242) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.lang.Thread.run(Thread.java:841) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: Caused by: java.lang.IllegalArgumentException: URI: content://com.android.contacts/phone_lookup/, calling user: com.android.dialer:10010, calling package is one of: [com.android.incallui, com.android.dialer] 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.content.ContentProviderProxy.query(ContentProviderNative.java:420) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.content.ContentResolver.query(ContentResolver.java:461) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.content.ContentResolver.query(ContentResolver.java:404) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.calllog.ContactInfoHelper.lookupContactFromUri(ContactInfoHelper.java:157) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.calllog.ContactInfoHelper.queryContactInfoForPhoneNumber(ContactInfoHelper.java:232) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.calllog.ContactInfoHelper.lookupNumber(ContactInfoHelper.java:90) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.callstats.CallStatsDetailActivity$UpdateContactTask.doInBackground(CallStatsDetailActivity.java:81) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at com.android.dialer.callstats.CallStatsDetailActivity$UpdateContactTask.doInBackground(CallStatsDetailActivity.java:79) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at android.os.AsyncTask$2.call(AsyncTask.java:288) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: at java.util.concurrent.FutureTask.run(FutureTask.java:237) 12-11 22:43:52.405 12380 12409 E AndroidRuntime: ... 4 more

    JIRA | 2 years ago | Ashish Pande
    java.lang.RuntimeException: An error occured while executing doInBackground()
  3. 0

    Android get Frequently ContactList

    Stack Overflow | 2 years ago | Lalson
    java.lang.IllegalArgumentException: Cannot bind argument at index 2 because the index is out of range. The statement has 1 parameters.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Using kotlin with ContentResolver caused IllegalArgumentException

    Stack Overflow | 2 years ago | Kesco
    java.lang.RuntimeException: Unable to start activity ComponentInfo{com.kescoode.yomail/com.kescoode.yomail.ui.activity.HomeActivity}: java.lang.IllegalArgumentException: Parameter specified as non-null is null: method kotlin.jvm.internal.Intrinsics.checkParameterIsNotNull, parameter projection
  6. 0

    Crash when sharing contents from other apps to ownCloud (2)

    GitHub | 4 years ago | davivel
    java.lang.IllegalArgumentException: column mime_type is not allowed in queries
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    URI: content://com.android.contacts/phone_lookup/, calling user: com.android.dialer:10010, calling package is one of: [com.android.incallui, com.android.dialer]

    at android.database.DatabaseUtils.readExceptionFromParcel()
  2. Android Platform
    ContentResolver.query
    1. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:167)
    2. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:137)
    3. android.content.ContentProviderProxy.query(ContentProviderNative.java:420)
    4. android.content.ContentResolver.query(ContentResolver.java:461)
    5. android.content.ContentResolver.query(ContentResolver.java:404)
    5 frames
  3. com.android.dialer
    CallStatsDetailActivity$UpdateContactTask.doInBackground
    1. com.android.dialer.calllog.ContactInfoHelper.lookupContactFromUri(ContactInfoHelper.java:157)
    2. com.android.dialer.calllog.ContactInfoHelper.queryContactInfoForPhoneNumber(ContactInfoHelper.java:232)
    3. com.android.dialer.calllog.ContactInfoHelper.lookupNumber(ContactInfoHelper.java:90)
    4. com.android.dialer.callstats.CallStatsDetailActivity$UpdateContactTask.doInBackground(CallStatsDetailActivity.java:81)
    5. com.android.dialer.callstats.CallStatsDetailActivity$UpdateContactTask.doInBackground(CallStatsDetailActivity.java:79)
    5 frames
  4. Android Platform
    AsyncTask$2.call
    1. android.os.AsyncTask$2.call(AsyncTask.java:288)
    1 frame
  5. Java RT
    FutureTask.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:237)
    1 frame
  6. Android Platform
    AsyncTask$SerialExecutor$1.run
    1. android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231)
    1 frame
  7. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587)
    3. java.lang.Thread.run(Thread.java:841)
    3 frames