java.lang.UnsupportedOperationException: URI: content://com.android.contacts/raw_contants, calling user: cn.jbit.Contact, calling package:cn.jbit.Contact

bkjia.com | 5 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    java.lang.UnsupportedOperationException_Java编程 | 帮客之家

    bkjia.com | 5 months ago
    java.lang.UnsupportedOperationException: URI: content://com.android.contacts/raw_contants, calling user: cn.jbit.Contact, calling package:cn.jbit.Contact
  2. 0

    When I update android native contact, I got “java.lang.UnsupportedOperationException:”

    Stack Overflow | 5 years ago | user760231
    java.lang.UnsupportedOperationException: Your selection contains data that can be deleted by ContactsProviderinternals only.

    Root Cause Analysis

    1. java.lang.UnsupportedOperationException

      URI: content://com.android.contacts/raw_contants, calling user: cn.jbit.Contact, calling package:cn.jbit.Contact

      at android.database.DatabaseUtils.readExceptionFromParcel()
    2. Android Platform
      ContentResolver.applyBatch
      1. android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:146)
      2. android.database.DatabaseUtils.readExceptionWithOperationApplicationExceptionFromParcel(DatabaseUtils.java:137)
      3. android.content.ContentProviderProxy.applyBatch(ContentProviderNative.java:449)
      4. android.content.ContentProviderClient.applyBatch(ContentProviderClient.java:95)
      5. android.content.ContentResolver.applyBatch(ContentResolver.java:639)
      5 frames
    3. cn.jbit.Contact
      TestVisitContacts.testAddContactsByTransaction
      1. cn.jbit.Contact.test.TestVisitContacts.testAddContactsByTransaction(TestVisitContacts.java:147)
      1 frame
    4. Java RT
      Method.invokeNative
      1. java.lang.reflect.Method.invokeNative(Native Method)
      1 frame
    5. Android Platform
      Instrumentation$InstrumentationThread.run
      1. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:169)
      2. android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:154)
      3. android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:529)
      4. android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1448)
      4 frames