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
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.773 sec <<< FAILURE!
se.alipsa.rideutils.ReadImageTest.testReadJpg() Time elapsed: 0.286 sec <<< FAILURE!
java.lang.RuntimeException: Internal graphics not initialized yet
at javafx.graphics/com.sun.glass.ui.Screen.getScreens(Screen.java:70)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.getScreens(QuantumToolkit.java:710)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.getMaxRenderScale(QuantumToolkit.java:737)
at javafx.graphics/com.sun.javafx.tk.quantum.QuantumToolkit.loadImage(QuantumToolkit.java:746)
at javafx.graphics/javafx.scene.image.Image.loadImage(Image.java:1052)
at javafx.graphics/javafx.scene.image.Image.initialize(Image.java:802)
at javafx.graphics/javafx.scene.image.Image.<init>(Image.java:618)
at se.alipsa.rideutils.ReadImage.read(ReadImage.java:42)
at se.alipsa.rideutils.ReadImageTest.testReadJpg(ReadImageTest.java:38)
I am using
openjdk version "11.0.14" 2022-01-18 LTS
OpenJDK Runtime Environment (build 11.0.14+9-LTS)
OpenJDK 64-Bit Server VM (build 11.0.14+9-LTS, mixed mode)
The following test fails about once every 10 runs with Internal graphics not initialized yet (i.e. the test works 90% of the time) :
the stack trace produced when it fails is:
I am using
openjdk version "11.0.14" 2022-01-18 LTS
OpenJDK Runtime Environment (build 11.0.14+9-LTS)
OpenJDK 64-Bit Server VM (build 11.0.14+9-LTS, mixed mode)
with the following dependencies
Is there something I can do prevent tests from running before the environment has finished initializing?
The text was updated successfully, but these errors were encountered: