jxs1211 / android-test-kit

Automatically exported from code.google.com/p/android-test-kit
0 stars 0 forks source link

Russian text in EditText throws an exception #133

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
onView(withId(R.id.edit)).perform(typeText("Привет мир"));

What is the expected output? What do you see instead?
Entered  Russian text in edittext

What version of the product are you using? On what operating system?
com.android.support.test.espresso:espresso-core:2.0
Android 2.3.6 and 4.4.2 

Please provide any additional information below.

java.lang.NullPointerException: Failed to get events for string Привет 
мир
at 
com.android.support.test.deps.guava.base.Preconditions.checkNotNull(Precondition
s.java:208)
at 
android.support.test.espresso.base.UiControllerImpl.injectString(UiControllerImp
l.java:264)
at 
android.support.test.espresso.action.TypeTextAction.perform(TypeTextAction.java:
105)
at android.support.test.espresso.ViewInteraction$1.run(ViewInteraction.java:144)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:422)
at java.util.concurrent.FutureTask.run(FutureTask.java:237)
at android.os.Handler.handleCallback(Handler.java:808)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:193)
at android.app.ActivityThread.main(ActivityThread.java:5388)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:839)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:655)
at dalvik.system.NativeStart.main(Native Method)

Original issue reported on code.google.com by Zahar.Zo...@gmail.com on 12 Feb 2015 at 8:41

GoogleCodeExporter commented 9 years ago
Issue 134 has been merged into this issue.

Original comment by vale...@google.com on 16 Mar 2015 at 7:15

GoogleCodeExporter commented 9 years ago
Sorry, there's not much we can to about this issue. Please see suggested 
workaround in 
https://code.google.com/p/android-test-kit/wiki/EspressoCommonProblems

Original comment by vale...@google.com on 16 Mar 2015 at 7:16