Skip to content

execute() called after the shutdown of the Javascript engine and therefore not processed #818

@csware

Description

@csware

I'm using HtmlUnit 4.3.0 in one of my projects and I'm getting the error execute() called after the shutdown of the Javascript engine and therefore not processed (origin INFO org.htmlunit.javascript.JavaScriptEngine) logged to the console for every test case.

No issue with version 3.11.0, but according to my old logs the issue got introduced when I switched to 4.1.0.

The code can be found here: https://gitlab.com/mrtux/htmlunit-issue

Test class: https://gitlab.com/mrtux/htmlunit-issue/-/blob/master/src/test/java/de/tuclausthal/submissioninterface/WebClientTest.java

Example from the logs: https://gitlab.com/mrtux/htmlunit-issue/-/jobs/7352973308#L357

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions