Skip to content
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

Error initializing QuantumRenderer #101

Open
mikedolx opened this issue Nov 3, 2022 · 8 comments
Open

Error initializing QuantumRenderer #101

mikedolx opened this issue Nov 3, 2022 · 8 comments

Comments

@mikedolx
Copy link

mikedolx commented Nov 3, 2022

Hi,

i just tried to run the FROST-Manager under Windows 11, but unfortunately somehow i don't get it running. I tried it with different Java-JRE's but each time i ended up with the following exception:

Graphics Device initialization failed for :  d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:280)
        at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:244)
        at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:261)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
        at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:94)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:124)
        ... 1 more
Exception in thread "main" java.lang.RuntimeException: No toolkit found
        at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:273)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:267)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:158)
        at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:658)
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:678)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:195)
        at java.base/java.lang.Thread.run(Thread.java:834)

I have tried to run it with the following java runtimes:

  • java version "11.0.17" 2022-10-18 LTS
  • openjdk version "17.0.5" 2022-10-18
  • openjdk version "11.0.17" 2022-10-18 (from Eclipse Adoptium)

The command i was trying to run the jar is java -jar FROST-Manager-0.7-jar-with-dependencies.jar. I downloaded the jar from here

My Machine is a Windows 11 Pro 21H2.

Any ideas, what could be wrong?

Thanks and BR

@hylkevds
Copy link
Member

hylkevds commented Nov 3, 2022

I've made a new release, since JavaFX has been updated since the v0.7 release. Once 0.8 appears on Maven Central, can you try that one?

@PedroSolino
Copy link

Hi
I was having the same problem of @mikedolx, and I tried to use the new version 0.8 . But this error occuried:

java -jar FROST-Manager-0.8-jar-with-dependencies.jar nov. 07, 2022 1:29:48 PM com.sun.javafx.application.PlatformImpl startup WARNING: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @6ced7109' Graphics Device initialization failed for : es2, sw Error initializing QuantumRenderer: no suitable pipeline found java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:283) at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:253) at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:268) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:1589) Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:95) at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125) ... 1 more Exception in thread "main" java.lang.RuntimeException: No toolkit found at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:280) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291) at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163) at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659) at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679) at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196) at java.base/java.lang.Thread.run(Thread.java:1589)

My machine is a macOS system

Thank you for the help

@hylkevds
Copy link
Member

hylkevds commented Nov 7, 2022

@mikedolx
Copy link
Author

mikedolx commented Nov 7, 2022

I've made a new release, since JavaFX has been updated since the v0.7 release. Once 0.8 appears on Maven Central, can you try that one?

Hi @hylkevds,

so running the new version i get the following exception:

Running with java 11.0.17 2022-10-18 LTS:

java -jar .\FROST-Manager-0.8-jar-with-dependencies.jar
Nov. 07, 2022 3:02:23 NACHM. com.sun.javafx.application.PlatformImpl startup
WARNUNG: Unsupported JavaFX configuration: classes were loaded from 'unnamed module @10f9cb54'
Graphics Device initialization failed for :  d3d, sw
Error initializing QuantumRenderer: no suitable pipeline found
java.lang.RuntimeException: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at com.sun.javafx.tk.quantum.QuantumRenderer.getInstance(QuantumRenderer.java:283)
        at com.sun.javafx.tk.quantum.QuantumToolkit.init(QuantumToolkit.java:253)
        at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:268)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
        at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: Error initializing QuantumRenderer: no suitable pipeline found
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.init(QuantumRenderer.java:95)
        at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
        ... 1 more
Exception in thread "main" java.lang.RuntimeException: No toolkit found
        at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:280)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:291)
        at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:163)
        at com.sun.javafx.application.LauncherImpl.startToolkit(LauncherImpl.java:659)
        at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:679)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$2(LauncherImpl.java:196)
        at java.base/java.lang.Thread.run(Thread.java:834)

@mikedolx
Copy link
Author

mikedolx commented Nov 7, 2022

Hi @hylkevds,
your version 0.9 seems to work. Allthough i have a FileNotFound-Exception in the Powershell:

java.io.FileNotFoundException: servers.json (Das System kann die angegebene Datei nicht finden)
        at java.base/java.io.FileInputStream.open0(Native Method)
        at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
        at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157)
        at java.base/java.io.FileReader.<init>(FileReader.java:75)
        at de.fraunhofer.iosb.ilt.sensorthingsmanager.controller.ControllerScene.loadServerList(ControllerScene.java:220)
        at de.fraunhofer.iosb.ilt.sensorthingsmanager.controller.ControllerScene.initialize(ControllerScene.java:198)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2655)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3331)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3287)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3255)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3227)
        at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:3203)
        at javafx.fxml.FXMLLoader.load(FXMLLoader.java:3196)
        at de.fraunhofer.iosb.ilt.sensorthingsmanager.ManagerGui.start(ManagerGui.java:31)
        at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$9(LauncherImpl.java:847)
        at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$12(PlatformImpl.java:484)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$10(PlatformImpl.java:457)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at com.sun.javafx.application.PlatformImpl.lambda$runLater$11(PlatformImpl.java:456)
        at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
        at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
        at com.sun.glass.ui.win.WinApplication.lambda$runLoop$3(WinApplication.java:184)
        at java.base/java.lang.Thread.run(Thread.java:834)

But that might just be the server-configuration file. Nevertheless, connecting to the IOSB-Demoserver seems to work fine 👍.

Running with java 11.0.17 2022-10-18 LTS

grafik

If @PedroSolino does not have any doubts i'd close this ticket after v0.9 was released.

Thanks and BR,
Michael

@hylkevds
Copy link
Member

hylkevds commented Nov 7, 2022

Yes, the file not found should go away after the first run. It's just trying to find the server list.
@PedroSolino Can you test on your mac as well?

@PedroSolino
Copy link

It worked here too!

Captura de Tela 2022-11-07 às 17 09 31

Thank you for the help!

@hylkevds
Copy link
Member

hylkevds commented Nov 7, 2022

Thanks for testing. I've released 0.9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants