-
Notifications
You must be signed in to change notification settings - Fork 220
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
javafx_font.dll Error when executing JavaFX tests #49
Comments
@DavidWich Thanks for the report, we'll look into it further and update this issue with findings. |
I created a sample project to help you recreating the issue. In the process of creating it I noticed that this is related to the Maven Surefire Plugin, or rather the execution in headless mode. That's why the error appears through Maven (command line) and not through IDE-Test-Execution (which I noticed as well that this makes a difference). The sample project is available here: EDIT: I updated the library versions but it either made no difference or showed different errors. NOTE: When removing the Text item in GuiForm.fxml (l. 8) there will be no error on test execution. |
I've tried this project in IntelliJ Idea, and also didn't reproduce the error. If I understand correctly, this only happened when you run it using the Surefire plugin from command line? |
Yes, it did. Currently I have to run these kind of tests through an IDE (Eclipse in this case) and skip them in the headless environment. |
Hi, Is there a plan to get this fixed in Corretto 8? or any alternate plan get rid of this error? Thanks |
this has been fixed in https://github.com/corretto/corretto-8/releases/tag/8.222.10.3 |
Describe the bug
When executing JavaFX controller tests with Maven (either specific or through the test lifecycle) I get the following error:
This happens when a javafx.stage.Stage tries to show() a javafx.scene.Scene .
This occurs in the Amazon Corretto 8 versions u192, u202, u202.08.2 (64 Bit)
This works in the Oracle versions.
To Reproduce
Try to show() a javafx.scene.Scene with a javafx.stage.Stage
Expected behavior
The tests should be executed correctly like Oracle JDK x64: build 1.8.0_192-b12, Oracle JDK x86: build 1.8.0_201-b09
Platform information
Additional context
As I have noticed, this bug also occurs in Azul ZuluFX 1.8.0 u192 (build 1.8.0_192-b01). As this works with the Oracle JDK it may be a bug in both distributions (Corretto and ZuluFX). If this is not related to Corretto I apologize.
This error generates a hs_err_pid.log. If this is needed for further investigations I will post it.
The text was updated successfully, but these errors were encountered: