java.lang.RuntimeException

Multiple data elements matched: is an instance of android.database.Cursor. At this point, I don't even think it's getting to the onChildView() match. Before I continue further, is this even the right way to approach this? Should UI automation even be touching Cursors? Thanks in advance! Here is the call stack of the error: ...

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web10

  • via Unknown by Unknown author,
  • Stack trace

    • java.lang.RuntimeException: Multiple data elements matched: is an instance of android.database.Cursor. At this point, I don't even think it's getting to the onChildView() match. Before I continue further, is this even the right way to approach this? Should UI automation even be touching Cursors? Thanks in advance! Here is the call stack of the error: ... at java.lang.reflect.Method.invokeNative(Native Method) at android.test.InstrumentationTestCase.runMethod(InstrumentationTestCase.java:214) at android.test.InstrumentationTestCase.runTest(InstrumentationTestCase.java:199) at android.test.ActivityInstrumentationTestCase2.runTest(ActivityInstrumentationTestCase2.java:192) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:191) at android.test.AndroidTestRunner.runTest(AndroidTestRunner.java:176) at android.test.InstrumentationTestRunner.onStart(InstrumentationTestRunner.java:554) at com.google.android.apps.common.testing.testrunner.GoogleInstrumentationTestRunner.onStart(GoogleInstrumentationTestRunner.java:167) at android.app.Instrumentation$InstrumentationThread.run(Instrumentation.java:1701) Caused by: java.lang.RuntimeException: Multiple data elements matched: is an instance of android.database.Cursor. Elements: [Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 4, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 5, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 6, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 7, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 8, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 9, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 10, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 11, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 12, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 13, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 14, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 15, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 16, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 17, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 18, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 19, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 20, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 21, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 22, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 23, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 24, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 25, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 26, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 27, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 28, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 29, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 30, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 31, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 32, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 33, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 34, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 35, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 36, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 37, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 38, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 39, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 40, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 41, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 42, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 43, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 44, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 45, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 46, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 47, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 48, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 49, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 50, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 51, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 52, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 53, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 54, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 55, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 56, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 57, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 58, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 59, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 60, Data: android.content.ContentResolver$CursorWrapperInner@b158b268 (class: class android.content.ContentResolver$CursorWrapperInner) token: 61] at com.google.android.apps.common.testing.ui.espresso.action.AdapterDataLoaderAction.perform(AdapterDataLoaderAction.java:108) at com.google.android.apps.common.testing.ui.espresso.ViewInteraction$1.run(ViewInteraction.java:119) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:390) at java.util.concurrent.FutureTask.run(FutureTask.java:234) at android.os.Handler.handleCallback(Handler.java:730) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:137) at android.app.ActivityThread.main(ActivityThread.java:5103) at java.lang.reflect.Method.invokeNative(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:737) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553) at dalvik.system.NativeStart.main(Native Method)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.