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: ...


Solutions on the web

Solution icon of googlegroups
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: ...

Solution icon of googlegroups
via Google Groups by Macarse, 4 months ago
Could not find mock for android.widget.TextView > -- Make sure to run the MockGenerator.jar on your test jar, and to build > the Android test APK using the modified jar created by MockGenerator > at

Solution icon of web
Unable to instantiate activity ComponentInfo{com.example.test/com.example.test.MainActivity}: on path: /data/app/com.example.test.myapp.apk at android.app.ActivityThread.performLaunchActivity(ActivityThread.java.. at

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.emx.OnDaMove/com.emx.OnDaMove.FullImageActivity}: android.content.res.Resources$NotFoundException: Resource ID #0x4 11-01 10:25:51.323: ERROR/AndroidRuntime(5001): at

Solution icon of web
Unable to start activity ComponentInfo{com.wlodsgn.bunbunup/com.wlodsgn.bunbunup.JeansDetailsActivity}: java.lang.NullPointerException at android.app.ActivityThread.performLaunchActivity(ActivityThread.java: ) at

Solution icon of stackoverflow
via Stack Overflow by jiji
, 1 year ago
Unable to instantiate activity ComponentInfo{com.read.xml/com.read.xml.DataHandler}: java.lang.ClassCastException: com.read.xml.DataHandler 10-06 08:29:52.254: E/AndroidRuntime(614): at android.app.ActivityThread.performLaunchActivity

Solution icon of stackoverflow
Unable to start activity ComponentInfo{com.dss.quizapp/com.dss.quizapp.Question1}: java.lang.NullPointerException 09-29 16:11:08.059: E/AndroidRuntime(23768): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java

Solution icon of stackoverflow
via Stack Overflow by eric
, 1 year ago
Exception during suite construction at android.test.suitebuilder.TestSuiteBuilder$FailedToCreateTests.testSuiteConstructionFailed(T estSuiteBuilder.java:239)

Solution icon of web
Exception during suite construction at android.test.suitebuilder.TestSuiteBuilder $FailedToCreateTests.testSuiteConstructionFailed(TestSuiteBuilder.java: 239)

Solution icon of web
Exception during suite construction at android.test.suitebuilder.TestSuiteBuilder $FailedToCreateTests.testSuiteConstructionFailed(TestSuiteBuilder.java: 239)

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

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.