OpenAuth icon indicating copy to clipboard operation
OpenAuth copied to clipboard

Graphics Device initialization failed for : d3d, sw while using Webview

Open lucas-luchack opened this issue 3 years ago • 0 comments

When using the Webview to connect an error occurs...

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:243)
	at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:250)
	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
	at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:250)
	at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:265)
	at fr.litarvan.openauth.microsoft.LoginFrame.<init>(LoginFrame.java:52)
	at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithAsyncWebview(MicrosoftAuthenticator.java:156)
	at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithWebview(MicrosoftAuthenticator.java:142)
	at com.valbion.nennim.launcher.Launcher.authMicrosoft(Launcher.java:48)
	at com.valbion.nennim.launcher.LauncherPanel$2.run(LauncherPanel.java:159)
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)
	at java.base/java.lang.Thread.run(Thread.java:832)
Exception in thread "Thread-0" java.lang.RuntimeException: No toolkit found
	at com.sun.javafx.tk.Toolkit.getToolkit(Toolkit.java:262)
	at com.sun.javafx.application.PlatformImpl.startup(PlatformImpl.java:209)
	at javafx.embed.swing.JFXPanel.initFx(JFXPanel.java:250)
	at javafx.embed.swing.JFXPanel.<init>(JFXPanel.java:265)
	at fr.litarvan.openauth.microsoft.LoginFrame.<init>(LoginFrame.java:52)
	at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithAsyncWebview(MicrosoftAuthenticator.java:156)
	at fr.litarvan.openauth.microsoft.MicrosoftAuthenticator.loginWithWebview(MicrosoftAuthenticator.java:142)
	at com.valbion.nennim.launcher.Launcher.authMicrosoft(Launcher.java:48)
	at com.valbion.nennim.launcher.LauncherPanel$2.run(LauncherPanel.java:159)

Also, what information should be returned to AuthInfos?

And errors with MicrosoftAuthenticationException return null Here my code : JOptionPane.showMessageDialog(LauncherPanel.this, "Erreur, impossible de se connecter : " + e.getCause(), "Erreur - Compte Microsoft", JOptionPane.ERROR_MESSAGE);

lucas-luchack avatar Sep 04 '21 21:09 lucas-luchack