-
Bug
-
Resolution: Fixed
-
P4
-
jfx21, jfx22
-
inapplicable
-
generic
-
generic
When we run "test/scenegraph/fx3d/shapes" or "test/scenegraph/fx3d/subscene/shapes" of https://github.com/openjdk/jfx-tests all the tests under these folders fails because of IllegalArgumentException.
----------System.err:(27/2060)----------
Sep 07, 2023 11:44:31 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @22de69b2'
Exception in Application start method
java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalArgumentException: Invalid URL: Invalid URL or resource not found
at javafx.scene.image.Image.validateUrl(Image.java:1133)
at javafx.scene.image.Image.<init>(Image.java:627)
at test.scenegraph.fx3d.utils.ShapesTestCase.<init>(ShapesTestCase.java:71)
at test.scenegraph.fx3d.shapes.MeshTestApp$MeshTestCase.<init>(MeshTestApp.java:124)
at test.scenegraph.fx3d.shapes.MeshTestApp.getTestCase(MeshTestApp.java:59)
at test.scenegraph.fx3d.shapes.Shape3DBasicApp.buildScene(Shape3DBasicApp.java:163)
at test.scenegraph.fx3d.shapes.Shape3DBasicApp.initScene(Shape3DBasicApp.java:159)
at test.scenegraph.fx3d.utils.FX3DAbstractApp.reinitScene(FX3DAbstractApp.java:45)
at test.scenegraph.fx3d.utils.FX3DAbstractApp.start(FX3DAbstractApp.java:88)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.IllegalArgumentException: Invalid URL or resource not found
at javafx.scene.image.Image.validateUrl(Image.java:1122)
... 14 more
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Exception in Application start method
Test is not able to find required image resources.
----------System.err:(27/2060)----------
Sep 07, 2023 11:44:31 AM com.sun.javafx.application.PlatformImpl startup
WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @22de69b2'
Exception in Application start method
java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:893)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.IllegalArgumentException: Invalid URL: Invalid URL or resource not found
at javafx.scene.image.Image.validateUrl(Image.java:1133)
at javafx.scene.image.Image.<init>(Image.java:627)
at test.scenegraph.fx3d.utils.ShapesTestCase.<init>(ShapesTestCase.java:71)
at test.scenegraph.fx3d.shapes.MeshTestApp$MeshTestCase.<init>(MeshTestApp.java:124)
at test.scenegraph.fx3d.shapes.MeshTestApp.getTestCase(MeshTestApp.java:59)
at test.scenegraph.fx3d.shapes.Shape3DBasicApp.buildScene(Shape3DBasicApp.java:163)
at test.scenegraph.fx3d.shapes.Shape3DBasicApp.initScene(Shape3DBasicApp.java:159)
at test.scenegraph.fx3d.utils.FX3DAbstractApp.reinitScene(FX3DAbstractApp.java:45)
at test.scenegraph.fx3d.utils.FX3DAbstractApp.start(FX3DAbstractApp.java:88)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:839)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:483)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:456)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:455)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Caused by: java.lang.IllegalArgumentException: Invalid URL or resource not found
at javafx.scene.image.Image.validateUrl(Image.java:1122)
... 14 more
STATUS:Failed.`main' threw exception: java.lang.RuntimeException: Exception in Application start method
Test is not able to find required image resources.