Closed VenkateshAchanta closed 3 years ago
Hello @VenkateshAchanta ! I wonder if you could provide more information so that we can reproduce this issue. Which hlm-backend version do you use? Is it the full stack trace? Which element tries to heal?
HI I am also getting the same issue. can you please help in below. No error message is displayed only displayed trying to heal and script getting failed.
Hello @VenkateshAchanta and @rohitgera15 ! Please, updating the Jsoup version to 1.11.3 or higher for main project
getting same error
I am getting below error while trying to heal in selenium web I am using below Maven dependcy dependency>
<artifactId>healenium-web</artifactId>
<version>3.4.2</version>
org.jsoup.nodes.Document.root()Lorg/jsoup/nodes/Node
xception in thread "main" java.lang.NoSuchMethodError: org.jsoup.nodes.Document.root()Lorg/jsoup/nodes/Node; at com.epam.healenium.treecomparing.JsoupHTMLParser.parse(JsoupHTMLParser.java:25) at com.epam.healenium.SelfHealingEngine.parseTree(SelfHealingEngine.java:146) at com.epam.healenium.processor.HealingProcessor.execute(HealingProcessor.java:35) at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:42) at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:50) at com.epam.healenium.processor.BaseProcessor.process(BaseProcessor.java:50) at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:60) at com.epam.healenium.handlers.proxy.SelfHealingProxyInvocationHandler.invoke(SelfHealingProxyInvocationHandler.java:39) at com.sun.proxy.$Proxy6.findElement(Unknown Source)
We have integrated healenium our into framework during execution tests are failing with below Error.
Execution:
java.lang.NoSuchMethodError: org.jsoup.nodes.Document.root()Lorg/jsoup/nodes/Node; at com.epam.healenium.treecomparing.JsoupHTMLParser.parse(JsoupHTMLParser.java:25) at com.epam.healenium.SelfHealingEngine.parseTree(SelfHealingEngine.java:273) at com.epam.healenium.SelfHealingEngine.findNearest(SelfHealingEngine.java:240) at com.epam.healenium.SelfHealingEngine.findNewLocations(SelfHealingEngine.java:198) at com.epam.healenium.service.impl.AbstractHealingServiceImpl.healLocator(AbstractHealingServiceImpl.java:54) at com.epam.healenium.service.impl.HealingServiceImpl.heal(HealingServiceImpl.java:38) at com.epam.healenium.handlers.proxy.BaseHandler.lookUp(BaseHandler.java:93) at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:58) at com.epam.healenium.handlers.proxy.SelfHealingProxyInvocationHandler.invoke(SelfHealingProxyInvocationHandler.java:39) at com.sun.proxy.$Proxy27.findElement(Unknown Source)
Healenium Web Dependency:
<dependency> <groupId>com.epam.healenium</groupId> <artifactId>healenium-web</artifactId> <version>3.1.5</version> </dependency>
is your issue resolved ?
We have integrated healenium our into framework during execution tests are failing with below Error.
Execution:
java.lang.NoSuchMethodError: org.jsoup.nodes.Document.root()Lorg/jsoup/nodes/Node; at com.epam.healenium.treecomparing.JsoupHTMLParser.parse(JsoupHTMLParser.java:25) at com.epam.healenium.SelfHealingEngine.parseTree(SelfHealingEngine.java:273) at com.epam.healenium.SelfHealingEngine.findNearest(SelfHealingEngine.java:240) at com.epam.healenium.SelfHealingEngine.findNewLocations(SelfHealingEngine.java:198) at com.epam.healenium.service.impl.AbstractHealingServiceImpl.healLocator(AbstractHealingServiceImpl.java:54) at com.epam.healenium.service.impl.HealingServiceImpl.heal(HealingServiceImpl.java:38) at com.epam.healenium.handlers.proxy.BaseHandler.lookUp(BaseHandler.java:93) at com.epam.healenium.handlers.proxy.BaseHandler.findElement(BaseHandler.java:58) at com.epam.healenium.handlers.proxy.SelfHealingProxyInvocationHandler.invoke(SelfHealingProxyInvocationHandler.java:39) at com.sun.proxy.$Proxy27.findElement(Unknown Source)
Healenium Web Dependency: