exception in selendroid sendKeys on android editText

7 views
Skip to first unread message

piy...@gmail.com

unread,
Jul 5, 2017, 1:25:27 AM7/5/17
to selendroid
org.openqa.selenium.WebDriverException: Unhandled exception from application under test. io.selendroid.exceptions.AppCrashedException: Unhandled exception from application under test. at io.selendroid.ServerInstrumentation.runSynchronouslyOnUiThread(ServerInstrumentation.java:412) at io.selendroid.ServerInstrumentation.sendInputEventSync(ServerInstrumentation.java:399) at io.selendroid.ServerInstrumentation.sendPointerSync(ServerInstrumentation.java:380) at io.selendroid.server.model.AndroidNativeElement.clickOnScreen(AndroidNativeElement.java:207) at io.selendroid.server.model.AndroidNativeElement.click(AndroidNativeElement.java:194) at io.selendroid.server.model.AndroidNativeElement.requestFocus(AndroidNativeElement.java:166) at io.selendroid.server.model.AndroidNativeElement.enterText(AndroidNativeElement.java:149) at io.selendroid.server.handler.SendKeys.handle(SendKeys.java:52) at io.selendroid.server.AndroidServlet.handleRequest(AndroidServlet.java:301) at io.selendroid.server.BaseServlet.handleHttpRequest(BaseServlet.java:67) at io.selendroid.server.http.ServerHandler.channelRead(ServerHandler.java:50) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:163) at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:148) at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:333) at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:319) at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:787) at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:125) at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:511) at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:430) at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:384) at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:354) at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:116) at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:137) at java.lang.Thread.run(Thread.java:818) Caused by: java.util.concurrent.ExecutionException: java.lang.IllegalStateException: This message cannot be recycled because it is still in use. at java.util.concurrent.FutureTask.report(FutureTask.java:94) at java.util.concurrent.FutureTask.get(FutureTask.java:164) at io.selendroid.ServerInstrumentation.runSynchronouslyOnUiThread(ServerInstrumentation.java:410) ... 28 more Caused by: java.lang.IllegalStateException: This message cannot be recycled because it is still in use. at android.os.Message.recycle(Message.java:279) at io.selendroid.UiThreadController.loopUiThreadUntilInjectionComplete(UiThreadController.java:96) at io.selendroid.UiThreadController.injectInputEventWaitingForCompletion(UiThreadController.java:66) at io.selendroid.ServerInstrumentation$5.run(ServerInstrumentation.java:401) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:423) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:148) at android.app.ActivityThread.main(ActivityThread.java:5417) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
Reply all
Reply to author
Forward
0 new messages