You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched in the issue and found nothing similar. | 我查找了并确认issue列表无相似报告。
Sonic version
v2.6.3
Deploy platform
mac
Minimal reproduce step
io.appium.uiautomator2.server.test.AppiumUiAutomator2Server:
[sonic-driver-core] 2024-01-17 13:00:28 [ERROR] start session failed.
[sonic-driver-core] 2024-01-17 13:00:28 [ERROR] cause: ErrorMsg(error=session not created, message=java.lang.IllegalStateException: UiAutomation not connected, UiAutomation@2853e6f[id=-1, flags=0], traceback=io.appium.uiautomator2.common.exceptions.SessionNotCreatedException: java.lang.IllegalStateException: UiAutomation not connected, UiAutomation@2853e6f[id=-1, flags=0]
at io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:60)
at io.appium.uiautomator2.handler.request.SafeRequestHandler.handle(SafeRequestHandler.java:59)
at io.appium.uiautomator2.server.AppiumServlet.handleRequest(AppiumServlet.java:267)
at io.appium.uiautomator2.server.AppiumServlet.handleHttpRequest(AppiumServlet.java:261)
at io.appium.uiautomator2.http.ServerHandler.channelRead(ServerHandler.java:68)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.channel.CombinedChannelDuplexHandler$DelegatingChannelHandlerContext.fireChannelRead(CombinedChannelDuplexHandler.java:435)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
at io.netty.channel.CombinedChannelDuplexHandler.channelRead(CombinedChannelDuplexHandler.java:250)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:131)
at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:611)
at io.netty.channel.nio.NioEventLoop.processSelectedKeysOptimized(NioEventLoop.java:552)
at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:466)
at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:438)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:930)
Caused by: java.lang.IllegalStateException: UiAutomation not connected, UiAutomation@2853e6f[id=-1, flags=0]
at android.app.UiAutomation.throwIfNotConnectedLocked(UiAutomation.java:1518)
at android.app.UiAutomation.setOnAccessibilityEventListener(UiAutomation.java:445)
at androidx.test.uiautomator.QueryController.<init>(QueryController.java:95)
at androidx.test.uiautomator.UiDevice.<init>(UiDevice.java:109)
at androidx.test.uiautomator.UiDevice.getInstance(UiDevice.java:261)
at io.appium.uiautomator2.utils.Device.getUiDevice(Device.java:34)
at io.appium.uiautomator2.core.UiAutomatorBridge.getUiAutomation(UiAutomatorBridge.java:53)
at io.appium.uiautomator2.core.UiAutomation.<init>(UiAutomation.java:32)
at io.appium.uiautomator2.core.UiAutomation.getInstance(UiAutomation.java:37)
at io.appium.uiautomator2.model.NotificationListener.<init>(NotificationListener.java:43)
at io.appium.uiautomator2.model.NotificationListener.getInstance(NotificationListener.java:48)
at io.appium.uiautomator2.model.settings.EnableNotificationListener.getValue(EnableNotificationListener.java:31)
at io.appium.uiautomator2.model.settings.EnableNotificationListener.getValue(EnableNotificationListener.java:21)
at io.appium.uiautomator2.model.settings.AbstractSetting.reset(AbstractSetting.java:57)
at io.appium.uiautomator2.model.settings.Settings.resetForNewSession(Settings.java:71)
at io.appium.uiautomator2.handler.NewSession.safeHandle(NewSession.java:52)
... 34 more
)
Are you willing to submit a PR?
I'm willing to submit a PR! | 我将发起PR!
The text was updated successfully, but these errors were encountered:
Search before asking
Sonic version
v2.6.3
Deploy platform
mac
Minimal reproduce step
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: