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
While trying to call SelfHealingDriver.create(delegate). I am getting error as "Init Report] Error during call. Message: non-positive contentLength: 0, Exception: java.lang.IllegalArgumentException: non-positive contentLength: 0". Upon Debugging the issue, I found out that an HTTPPost method is being called without a Request body. We need to pass an empty Json Body to resolve the issue.
Issue 2: Healing Processor Error: java.lang.NoSuchMethodError: 'org.jsoup.nodes.Document org.jsoup.nodes.Document.normalise()' when calling new JsoupHTMLParser().parse(new ByteArrayInputStream(tree.getBytes(StandardCharsets.UTF_8)));
I modified my application UI Locator and during Healing Process, it had thrown me above exception. While debugging I have identified that, it was caused due to version incompatibility on Jsoup, as normalize method is been deprecated and to be removed.
Issue 3: Failed to check class: findAnnotatedInTrace in org.testng.TestRunner
I am using TestNg to execute my test. While Debugging i have found out com.epam.healenium.utils.StackUtils.redundantPackages() method should include "org.testng" along with remaining packages.
How to reproduce the issue
Init Report] Error during call. Message: non-positive contentLength: 0
java.lang.NoSuchMethodError: 'org.jsoup.nodes.Document org.jsoup.nodes.Document.normalise()' when calling new JsoupHTMLParser().parse(new ByteArrayInputStream(tree.getBytes(StandardCharsets.UTF_8)));
Failed to check class: findAnnotatedInTrace in org.testng.TestRunner
Logs appeared during using Healenium
Init Report] Error during call. Message: non-positive contentLength: 0
java.lang.NoSuchMethodError: 'org.jsoup.nodes.Document org.jsoup.nodes.Document.normalise()' when calling new JsoupHTMLParser().parse(new ByteArrayInputStream(tree.getBytes(StandardCharsets.UTF_8)));
Failed to check class: findAnnotatedInTrace in org.testng.TestRunner
Expected behavior
No response
Actual behavior
No response
Healenium Web version
3.5.2
Healenium Backend version
3.4.5
Selenium version
4.21.0
Platform
Java
Properties file
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Issue 1: Init Report] Error during call. Message: non-positive contentLength: 0
While trying to call SelfHealingDriver.create(delegate). I am getting error as "Init Report] Error during call. Message: non-positive contentLength: 0, Exception: java.lang.IllegalArgumentException: non-positive contentLength: 0". Upon Debugging the issue, I found out that an HTTPPost method is being called without a Request body. We need to pass an empty Json Body to resolve the issue.
Issue 2: Healing Processor Error: java.lang.NoSuchMethodError: 'org.jsoup.nodes.Document org.jsoup.nodes.Document.normalise()' when calling new JsoupHTMLParser().parse(new ByteArrayInputStream(tree.getBytes(StandardCharsets.UTF_8)));
I modified my application UI Locator and during Healing Process, it had thrown me above exception. While debugging I have identified that, it was caused due to version incompatibility on Jsoup, as normalize method is been deprecated and to be removed.
Issue 3: Failed to check class: findAnnotatedInTrace in org.testng.TestRunner
I am using TestNg to execute my test. While Debugging i have found out com.epam.healenium.utils.StackUtils.redundantPackages() method should include "org.testng" along with remaining packages.
How to reproduce the issue
Logs appeared during using Healenium
Expected behavior
No response
Actual behavior
No response
Healenium Web version
3.5.2
Healenium Backend version
3.4.5
Selenium version
4.21.0
Platform
Java
Properties file
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: