Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Error during save elements for appium executions #277

Open
bawarim opened this issue Aug 7, 2024 · 0 comments
Open

[BUG]: Error during save elements for appium executions #277

bawarim opened this issue Aug 7, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bawarim
Copy link

bawarim commented Aug 7, 2024

Describe the bug

Describe the problem
I have setup the Healenium proxy on my server and now I am trying to run my test on Appium. But during the execution I can see in the logs that elements are not getting saved. Getting below error. So, could anyone please help.

: [Save Elements] Error during save elements: [f.A738BDFFAEB4AA035E0AC962C8079DC2.d.65441F126D8F818E060F3F15E178A429.e.45]. Message: For input string: "". Exception: {} java.lang.NumberFormatException: For input string: ""\n \n at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)\n \n at java.base/java.lang.Integer.parseInt(Integer.java:565)\n \n at java.base/java.lang.Integer.parseInt(Integer.java:685)\n \n at

Same error is coming while using the healenium-appium setup using docker. Could anyone please help here?

image

How to reproduce the issue

Setup Healenium server using Healenium proxy or docker. 
Execute Appium test using healnium proxy. 
Getting error while saving the elements.

Logs appeared during using Healenium

2024-07-03 14:20:47.375  WARN 10300 - [8085-exec-6] healenium                        : Trying to heal... 
2024-07-03 14:20:47.401  WARN 10300 - [8085-exec-6] healenium                        : New element locator have not been found. There is no reference data to selector in the database.\n Make sure that: \n - There is selector on the page http://localhost:8787/healenium/selectors/ and type: single, if not then you have to run successful tests.\n - Your locator was changed on the page and not in code. 
2024-07-03 14:20:47.402 ERROR 10300 - [8085-exec-6] healenium                        : [Request Handler] Error during handle Proxy Request. Message: no such element: Unable to locate element: {"method":"xpath","selector":"//ion-label[text()=' Welcome to the Mobile App! ']/parent::div/ion-button"}\n   (Session info: chrome=126.0.6478.134)\n For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception\n Build info: version: '4.16.0', revision: '15400459dd*'\n System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [ba0df3a6-c8c9-479f-b6c6-956f7990efda, findElement {using=xpath, value=//ion-label[text()=' Welcome to the Mobile App! ']/parent::div/ion-button}]\n Capabilities {appium:adbHost: 172.20.0.229, appium:adbPort: 17107, appium:appActivity: com.ati.playermax.load.test..., appium:appPackage: com.ati.playermax.load.test..., appium:appiumData: {appiumVersion: 1.22.2, automationName: UiAutomator2}, appium:autoGrantPermissions: true, appium:autoWebview: true, appium:automationName: UiAutomator2, appium:chromedriverChromeMappingFile: /root/.testobject_devices/w..., appium:chromedriverExecutableDir: /root/.testobject_devices/w..., appium:chromedriverPorts: [[3270, 3280]], appium:databaseEnabled: false, appium:desired: {adbHost: 172.20.0.229, adbPort: 17107, appActivity: com.ati.playermax.load.test..., appPackage: com.ati.playermax.load.test..., autoGrantPermissions: true, autoWebview: true, automationName: UiAutomator2, chromedriverChromeMappingFile: /root/.testobject_devices/w..., chromedriverExecutableDir: /root/.testobject_devices/w..., chromedriverPorts: [[3270, 3280]], deviceName: Samsung_Galaxy_S10_rx, launchTimeout: 20000, newCommandTimeout: 90, platformName: Android, remoteAdbHost: 172.20.0.229, remoteAppsCacheLimit: 0, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}, suppressKillServer: true, systemPort: 21107, uiautomator2ServerInstallTimeout: 60000}, appium:deviceApiLevel: 31, appium:deviceContextId: 8d3a6dd5-1a6e-4d28-bbfa-39b..., appium:deviceManufacturer: samsung, appium:deviceModel: SM-G973F, appium:deviceName: RF8M3004QTN, appium:deviceScreenDensity: 560, appium:deviceScreenSize: 1440x3040, appium:deviceUDID: RF8M3004QTN, appium:javascriptEnabled: true, appium:jobUuid: 187e34549cdb42d7ba1eaf7762d..., appium:launchTimeout: 20000, appium:locationContextEnabled: false, appium:networkConnectionEnabled: true, appium:newCommandTimeout: 90, appium:pixelRatio: 3.5, appium:platformVersion: 12, appium:remoteAdbHost: 172.20.0.229, appium:remoteAppsCacheLimit: 0, appium:statBarHeight: 150, appium:suppressKillServer: true, appium:systemPort: 21107, appium:takesScreenshot: true, appium:testobject_device: Samsung_Galaxy_S10_rx, appium:testobject_device_name: Samsung Galaxy S10, appium:testobject_device_session_id: 51b24252-2e22-470e-9ae5-bd0..., appium:testobject_test_report_api_url: https://api.eu-central-1.sa..., appium:testobject_test_report_url: https://app.eu-central-1.sa..., appium:testobject_user_id: gamesys, appium:uiautomator2ServerInstallTimeout: 60000, appium:usedCachedDevice: false, appium:viewportRect: {height: 2573, left: 0, top: 150, width: 1440}, appium:warnings: {}, appium:webStorageEnabled: false, platformName: ANDROID, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}}\n Session ID: ba0df3a6-c8c9-479f-b6c6-956f7990efda, Exception: {} org.openqa.selenium.NoSuchElementException: no such element: Unable to locate element: {"method":"xpath","selector":"//ion-label[text()=' Welcome to the Mobile App! ']/parent::div/ion-button"}\n   (Session info: chrome=126.0.6478.134)\n For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#no-such-element-exception\n Build info: version: '4.16.0', revision: '15400459dd*'\n System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [ba0df3a6-c8c9-479f-b6c6-956f7990efda, findElement {using=xpath, value=//ion-label[text()=' Welcome to the Mobile App! ']/parent::div/ion-button}]\n Capabilities {appium:adbHost: 172.20.0.229, appium:adbPort: 17107, appium:appActivity: com.ati.playermax.load.test..., appium:appPackage: com.ati.playermax.load.test..., appium:appiumData: {appiumVersion: 1.22.2, automationName: UiAutomator2}, appium:autoGrantPermissions: true, appium:autoWebview: true, appium:automationName: UiAutomator2, appium:chromedriverChromeMappingFile: /root/.testobject_devices/w..., appium:chromedriverExecutableDir: /root/.testobject_devices/w..., appium:chromedriverPorts: [[3270, 3280]], appium:databaseEnabled: false, appium:desired: {adbHost: 172.20.0.229, adbPort: 17107, appActivity: com.ati.playermax.load.test..., appPackage: com.ati.playermax.load.test..., autoGrantPermissions: true, autoWebview: true, automationName: UiAutomator2, chromedriverChromeMappingFile: /root/.testobject_devices/w..., chromedriverExecutableDir: /root/.testobject_devices/w..., chromedriverPorts: [[3270, 3280]], deviceName: Samsung_Galaxy_S10_rx, launchTimeout: 20000, newCommandTimeout: 90, platformName: Android, remoteAdbHost: 172.20.0.229, remoteAppsCacheLimit: 0, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}, suppressKillServer: true, systemPort: 21107, uiautomator2ServerInstallTimeout: 60000}, appium:deviceApiLevel: 31, appium:deviceContextId: 8d3a6dd5-1a6e-4d28-bbfa-39b..., appium:deviceManufacturer: samsung, appium:deviceModel: SM-G973F, appium:deviceName: RF8M3004QTN, appium:deviceScreenDensity: 560, appium:deviceScreenSize: 1440x3040, appium:deviceUDID: RF8M3004QTN, appium:javascriptEnabled: true, appium:jobUuid: 187e34549cdb42d7ba1eaf7762d..., appium:launchTimeout: 20000, appium:locationContextEnabled: false, appium:networkConnectionEnabled: true, appium:newCommandTimeout: 90, appium:pixelRatio: 3.5, appium:platformVersion: 12, appium:remoteAdbHost: 172.20.0.229, appium:remoteAppsCacheLimit: 0, appium:statBarHeight: 150, appium:suppressKillServer: true, appium:systemPort: 21107, appium:takesScreenshot: true, appium:testobject_device: Samsung_Galaxy_S10_rx, appium:testobject_device_name: Samsung Galaxy S10, appium:testobject_device_session_id: 51b24252-2e22-470e-9ae5-bd0..., appium:testobject_test_report_api_url: https://api.eu-central-1.sa..., appium:testobject_test_report_url: https://app.eu-central-1.sa..., appium:testobject_user_id: gamesys, appium:uiautomator2ServerInstallTimeout: 60000, appium:usedCachedDevice: false, appium:viewportRect: {height: 2573, left: 0, top: 150, width: 1440}, appium:warnings: {}, appium:webStorageEnabled: false, platformName: ANDROID, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}}\n Session ID: ba0df3a6-c8c9-479f-b6c6-956f7990efda\n \n 	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)\n \n 	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)\n \n 	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)\n \n 	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)\n \n 	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)\n \n 	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)\n \n 	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)\n \n 	at com.epam.healenium.healenium_proxy.command.HealeniumCommandExecutor.execute(HealeniumCommandExecutor.java:31)\n \n 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:523)\n \n 	at org.openqa.selenium.remote.ElementLocation$ElementFinder$2.findElement(ElementLocation.java:165)\n \n 	at org.openqa.selenium.remote.ElementLocation.findElement(ElementLocation.java:59)\n \n 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:360)\n \n 	at org.openqa.selenium.remote.RemoteWebDriver.findElement(RemoteWebDriver.java:354)\n \n 	at com.epam.healenium.processor.FindElementProcessor.execute(FindElementProcessor.java:23)\n \n 	at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:42)\n \n 	at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:63)\n \n 	at com.epam.healenium.healenium_proxy.request.post.override.HealeniumFindElementPostRequest.findElement(HealeniumFindElementPostRequest.java:48)\n \n 	at com.epam.healenium.healenium_proxy.request.post.override.HealeniumFindElementPostRequest.execute(HealeniumFindElementPostRequest.java:44)\n \n 	at com.epam.healenium.healenium_proxy.request.post.HealeniumPostRequest.execute(HealeniumPostRequest.java:46)\n \n 	at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:39)\n \n 	at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)\n \n 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)\n \n 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)\n \n 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)\n \n 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)\n \n 	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)\n \n 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)\n \n 	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n \n 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n \n 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)\n \n 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)\n \n 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n \n 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n \n 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)\n \n 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)\n \n 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n \n 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)\n \n 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)\n \n 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n \n 	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n \n 	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n \n 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n \n 	at java.base/java.lang.Thread.run(Thread.java:1570)\n \n 
2024-07-03 14:20:51.485  WARN 10300 - [8085-exec-7] healenium                        : [Save Elements] Error during save elements: [f.A738BDFFAEB4AA035E0AC962C8079DC2.d.65441F126D8F818E060F3F15E178A429.e.45]. Message: For input string: "". Exception: {} java.lang.NumberFormatException: For input string: ""\n \n 	at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:67)\n \n 	at java.base/java.lang.Integer.parseInt(Integer.java:565)\n \n 	at java.base/java.lang.Integer.parseInt(Integer.java:685)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.toNode(MobileNodeService.java:88)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.getHierarchyElements(MobileNodeService.java:43)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.getNodePath(MobileNodeService.java:32)\n \n 	at com.epam.healenium.SelfHealingEngine.lambda$getNodePath$0(SelfHealingEngine.java:121)\n \n 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:212)\n \n 	at java.base/java.util.Collections$2.tryAdvance(Collections.java:5074)\n \n 	at java.base/java.util.Collections$2.forEachRemaining(Collections.java:5082)\n \n 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)\n \n 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)\n \n 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)\n \n 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)\n \n 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:702)\n \n 	at com.epam.healenium.SelfHealingEngine.getNodePath(SelfHealingEngine.java:122)\n \n 	at com.epam.healenium.SelfHealingEngine.saveElements(SelfHealingEngine.java:104)\n \n 	at com.epam.healenium.processor.FindElementProcessor.execute(FindElementProcessor.java:25)\n \n 	at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:42)\n \n 	at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:63)\n \n 	at com.epam.healenium.healenium_proxy.request.post.override.HealeniumFindElementPostRequest.findElement(HealeniumFindElementPostRequest.java:48)\n \n 	at com.epam.healenium.healenium_proxy.request.post.override.HealeniumFindElementPostRequest.execute(HealeniumFindElementPostRequest.java:44)\n \n 	at com.epam.healenium.healenium_proxy.request.post.HealeniumPostRequest.execute(HealeniumPostRequest.java:46)\n \n 	at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:39)\n \n 	at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)\n \n 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)\n \n 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)\n \n 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)\n \n 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)\n \n 	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)\n \n 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)\n \n 	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n \n 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n \n 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)\n \n 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)\n \n 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n \n 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n \n 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)\n \n 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)\n \n 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n \n 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)\n \n 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)\n \n 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n \n 	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n \n 	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n \n 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n \n 	at java.base/java.lang.Thread.run(Thread.java:1570)\n \n 
2024-07-03 14:20:55.190  WARN 10300 - [085-exec-10] healenium                        : [Save Elements] Error during save elements: [f.A738BDFFAEB4AA035E0AC962C8079DC2.d.65441F126D8F818E060F3F15E178A429.e.187]. Message: stale element reference: stale element not found in the current frame\n   (Session info: chrome=126.0.6478.134)\n For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception\n Build info: version: '4.16.0', revision: '15400459dd*'\n System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [ba0df3a6-c8c9-479f-b6c6-956f7990efda, getElementAttribute {id=f.A738BDFFAEB4AA035E0AC962C8079DC2.d.65441F126D8F818E060F3F15E178A429.e.187, name=bounds}]\n Capabilities {appium:adbHost: 172.20.0.229, appium:adbPort: 17107, appium:appActivity: com.ati.playermax.load.test..., appium:appPackage: com.ati.playermax.load.test..., appium:appiumData: {appiumVersion: 1.22.2, automationName: UiAutomator2}, appium:autoGrantPermissions: true, appium:autoWebview: true, appium:automationName: UiAutomator2, appium:chromedriverChromeMappingFile: /root/.testobject_devices/w..., appium:chromedriverExecutableDir: /root/.testobject_devices/w..., appium:chromedriverPorts: [[3270, 3280]], appium:databaseEnabled: false, appium:desired: {adbHost: 172.20.0.229, adbPort: 17107, appActivity: com.ati.playermax.load.test..., appPackage: com.ati.playermax.load.test..., autoGrantPermissions: true, autoWebview: true, automationName: UiAutomator2, chromedriverChromeMappingFile: /root/.testobject_devices/w..., chromedriverExecutableDir: /root/.testobject_devices/w..., chromedriverPorts: [[3270, 3280]], deviceName: Samsung_Galaxy_S10_rx, launchTimeout: 20000, newCommandTimeout: 90, platformName: Android, remoteAdbHost: 172.20.0.229, remoteAppsCacheLimit: 0, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}, suppressKillServer: true, systemPort: 21107, uiautomator2ServerInstallTimeout: 60000}, appium:deviceApiLevel: 31, appium:deviceContextId: 8d3a6dd5-1a6e-4d28-bbfa-39b..., appium:deviceManufacturer: samsung, appium:deviceModel: SM-G973F, appium:deviceName: RF8M3004QTN, appium:deviceScreenDensity: 560, appium:deviceScreenSize: 1440x3040, appium:deviceUDID: RF8M3004QTN, appium:javascriptEnabled: true, appium:jobUuid: 187e34549cdb42d7ba1eaf7762d..., appium:launchTimeout: 20000, appium:locationContextEnabled: false, appium:networkConnectionEnabled: true, appium:newCommandTimeout: 90, appium:pixelRatio: 3.5, appium:platformVersion: 12, appium:remoteAdbHost: 172.20.0.229, appium:remoteAppsCacheLimit: 0, appium:statBarHeight: 150, appium:suppressKillServer: true, appium:systemPort: 21107, appium:takesScreenshot: true, appium:testobject_device: Samsung_Galaxy_S10_rx, appium:testobject_device_name: Samsung Galaxy S10, appium:testobject_device_session_id: 51b24252-2e22-470e-9ae5-bd0..., appium:testobject_test_report_api_url: https://api.eu-central-1.sa..., appium:testobject_test_report_url: https://app.eu-central-1.sa..., appium:testobject_user_id: gamesys, appium:uiautomator2ServerInstallTimeout: 60000, appium:usedCachedDevice: false, appium:viewportRect: {height: 2573, left: 0, top: 150, width: 1440}, appium:warnings: {}, appium:webStorageEnabled: false, platformName: ANDROID, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}}\n Element: [[AppiumDriver:  on ANDROID (ba0df3a6-c8c9-479f-b6c6-956f7990efda)] -> xpath: //div[contains(text(),'NV')]/following-sibling::div]\n Session ID: ba0df3a6-c8c9-479f-b6c6-956f7990efda. Exception: {} org.openqa.selenium.StaleElementReferenceException: stale element reference: stale element not found in the current frame\n   (Session info: chrome=126.0.6478.134)\n For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception\n Build info: version: '4.16.0', revision: '15400459dd*'\n System info: os.name: 'Windows Server 2022', os.arch: 'amd64', os.version: '10.0', java.version: '22'\n Driver info: io.appium.java_client.AppiumDriver\n Command: [ba0df3a6-c8c9-479f-b6c6-956f7990efda, getElementAttribute {id=f.A738BDFFAEB4AA035E0AC962C8079DC2.d.65441F126D8F818E060F3F15E178A429.e.187, name=bounds}]\n Capabilities {appium:adbHost: 172.20.0.229, appium:adbPort: 17107, appium:appActivity: com.ati.playermax.load.test..., appium:appPackage: com.ati.playermax.load.test..., appium:appiumData: {appiumVersion: 1.22.2, automationName: UiAutomator2}, appium:autoGrantPermissions: true, appium:autoWebview: true, appium:automationName: UiAutomator2, appium:chromedriverChromeMappingFile: /root/.testobject_devices/w..., appium:chromedriverExecutableDir: /root/.testobject_devices/w..., appium:chromedriverPorts: [[3270, 3280]], appium:databaseEnabled: false, appium:desired: {adbHost: 172.20.0.229, adbPort: 17107, appActivity: com.ati.playermax.load.test..., appPackage: com.ati.playermax.load.test..., autoGrantPermissions: true, autoWebview: true, automationName: UiAutomator2, chromedriverChromeMappingFile: /root/.testobject_devices/w..., chromedriverExecutableDir: /root/.testobject_devices/w..., chromedriverPorts: [[3270, 3280]], deviceName: Samsung_Galaxy_S10_rx, launchTimeout: 20000, newCommandTimeout: 90, platformName: Android, remoteAdbHost: 172.20.0.229, remoteAppsCacheLimit: 0, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}, suppressKillServer: true, systemPort: 21107, uiautomator2ServerInstallTimeout: 60000}, appium:deviceApiLevel: 31, appium:deviceContextId: 8d3a6dd5-1a6e-4d28-bbfa-39b..., appium:deviceManufacturer: samsung, appium:deviceModel: SM-G973F, appium:deviceName: RF8M3004QTN, appium:deviceScreenDensity: 560, appium:deviceScreenSize: 1440x3040, appium:deviceUDID: RF8M3004QTN, appium:javascriptEnabled: true, appium:jobUuid: 187e34549cdb42d7ba1eaf7762d..., appium:launchTimeout: 20000, appium:locationContextEnabled: false, appium:networkConnectionEnabled: true, appium:newCommandTimeout: 90, appium:pixelRatio: 3.5, appium:platformVersion: 12, appium:remoteAdbHost: 172.20.0.229, appium:remoteAppsCacheLimit: 0, appium:statBarHeight: 150, appium:suppressKillServer: true, appium:systemPort: 21107, appium:takesScreenshot: true, appium:testobject_device: Samsung_Galaxy_S10_rx, appium:testobject_device_name: Samsung Galaxy S10, appium:testobject_device_session_id: 51b24252-2e22-470e-9ae5-bd0..., appium:testobject_test_report_api_url: https://api.eu-central-1.sa..., appium:testobject_test_report_url: https://app.eu-central-1.sa..., appium:testobject_user_id: gamesys, appium:uiautomator2ServerInstallTimeout: 60000, appium:usedCachedDevice: false, appium:viewportRect: {height: 2573, left: 0, top: 150, width: 1440}, appium:warnings: {}, appium:webStorageEnabled: false, platformName: ANDROID, sauce:chromeOptions: {androidDevToolsPort: 22307}, sauce:options: {accessKey: 55711734-5dbc-4260-bd19-50c..., build: Playermax_CE_Load_Android, privateDevicesOnly: true, tunnelName: proximitymanager, tunnelOwner: anaxi-sauce-tunnel, username: sso-Prashant.Sharma-87612}}\n Element: [[AppiumDriver:  on ANDROID (ba0df3a6-c8c9-479f-b6c6-956f7990efda)] -> xpath: //div[contains(text(),'NV')]/following-sibling::div]\n Session ID: ba0df3a6-c8c9-479f-b6c6-956f7990efda\n \n 	at java.base/jdk.internal.reflect.DirectConstructorHandleAccessor.newInstance(DirectConstructorHandleAccessor.java:62)\n \n 	at java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Constructor.java:502)\n \n 	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:486)\n \n 	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.createException(W3CHttpResponseCodec.java:200)\n \n 	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:133)\n \n 	at org.openqa.selenium.remote.codec.w3c.W3CHttpResponseCodec.decode(W3CHttpResponseCodec.java:52)\n \n 	at org.openqa.selenium.remote.HttpCommandExecutor.execute(HttpCommandExecutor.java:191)\n \n 	at com.epam.healenium.healenium_proxy.command.HealeniumCommandExecutor.execute(HealeniumCommandExecutor.java:31)\n \n 	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:523)\n \n 	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:224)\n \n 	at org.openqa.selenium.remote.RemoteWebElement.getAttribute(RemoteWebElement.java:150)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.webElementParamValue(MobileNodeService.java:75)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.getElementFromDoc(MobileNodeService.java:64)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.getHierarchyElements(MobileNodeService.java:39)\n \n 	at com.epam.healenium.appium.service.MobileNodeService.getNodePath(MobileNodeService.java:32)\n \n 	at com.epam.healenium.SelfHealingEngine.lambda$getNodePath$0(SelfHealingEngine.java:121)\n \n 	at java.base/java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:212)\n \n 	at java.base/java.util.Collections$2.tryAdvance(Collections.java:5074)\n \n 	at java.base/java.util.Collections$2.forEachRemaining(Collections.java:5082)\n \n 	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:556)\n \n 	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:546)\n \n 	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)\n \n 	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:265)\n \n 	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:702)\n \n 	at com.epam.healenium.SelfHealingEngine.getNodePath(SelfHealingEngine.java:122)\n \n 	at com.epam.healenium.SelfHealingEngine.saveElements(SelfHealingEngine.java:104)\n \n 	at com.epam.healenium.processor.FindElementProcessor.execute(FindElementProcessor.java:25)\n \n 	at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:42)\n \n 	at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:63)\n \n 	at com.epam.healenium.healenium_proxy.request.post.override.HealeniumFindElementPostRequest.findElement(HealeniumFindElementPostRequest.java:48)\n \n 	at com.epam.healenium.healenium_proxy.request.post.override.HealeniumFindElementPostRequest.execute(HealeniumFindElementPostRequest.java:44)\n \n 	at com.epam.healenium.healenium_proxy.request.post.HealeniumPostRequest.execute(HealeniumPostRequest.java:46)\n \n 	at com.epam.healenium.healenium_proxy.handler.HealeniumProxyHttpHandler.handleRequest(HealeniumProxyHttpHandler.java:39)\n \n 	at org.springframework.web.servlet.mvc.HttpRequestHandlerAdapter.handle(HttpRequestHandlerAdapter.java:52)\n \n 	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1089)\n \n 	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:979)\n \n 	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1014)\n \n 	at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:914)\n \n 	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:590)\n \n 	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:885)\n \n 	at jakarta.servlet.http.HttpServlet.service(HttpServlet.java:658)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:205)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\n \n 	at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:116)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:174)\n \n 	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:149)\n \n 	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)\n \n 	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)\n \n 	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:482)\n \n 	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:115)\n \n 	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)\n \n 	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)\n \n 	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:340)\n \n 	at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:391)\n \n 	at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)\n \n 	at org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:896)\n \n 	at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1744)\n \n 	at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)\n \n 	at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)\n \n 	at org.apache.tomcat.util.threads.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:659)\n \n 	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n \n 	at java.base/java.lang.Thread.run(Thread.java:1570)\n \n

Expected behavior

No response

Actual behavior

No response

Healenium Web version

2.0.0

Healenium Backend version

3.4.5

Selenium version

No response

Platform

.Net

Properties file

No response

Additional context

No response

@bawarim bawarim added the bug Something isn't working label Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants