-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
UI completely broken, uncaught exception “Cannot invoke "javafx.scene.Node.getLayoutBounds()" because "this.textNode" is null” #7061
Comments
Thanks for opening your first issue here! |
Yes. Bisq was built with JDK 17. Trying 11 now. |
To users building v1.9.15 from source, please note: #7064 |
So, built with OpenJDK 11, but running with OpenJDK 17 it still had this issue. Running with JDK 11, then it works again. Pretty sure I've built and run with OpenJDK 17 for a while now without issues, at least up to 1.9.13. This issue appeared when I tried to upgrade from Bisq .13 to .15. |
Working now, though it would be good to fix the OpenJDK >11 issue. |
Current main version should work with JDK 17 (works for me) |
I just ran into this. First time building from source. Building and running with OpenJDK 17 on Ubuntu. |
Description
I upgraded to 1.9.15. As soon as I switch to the "Offers" tab, the UI completely breaks after an uncaught exception. After that every tab is blank, other than the basic structural framing.
As Bisq does not allow downgrade, this means Bisq is completely unusable to me now, and I can not access/manage the offers I have open.
Version
1.9.15
Steps to reproduce
Expected behaviour
I expect Bisq to work as normal.
Actual behaviour
Bisq gives an error about an uncaught exception. This stack trace appears in the log:
Mar-20 00:30:57.040 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Uncaught Exception from thread JavaFX Application Thread
Mar-20 00:30:57.041 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: throwableMessage= Cannot invoke "javafx.scene.Node.getLayoutBounds()" because "this.textNode" is null
Mar-20 00:30:57.041 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: throwableClass= class java.lang.NullPointerException
Mar-20 00:30:57.043 [JavaFX Application Thread] ERROR b.c.s.CommonSetup: Stack trace:
java.lang.NullPointerException: Cannot invoke "javafx.scene.Node.getLayoutBounds()" because "this.textNode" is null
at bisq.desktop.components.JFXTextFieldSkinBisqStyle.updateTextPos(JFXTextFieldSkinBisqStyle.java:95)
at bisq.desktop.components.JFXTextFieldSkinBisqStyle.layoutChildren(JFXTextFieldSkinBisqStyle.java:79)
at javafx.scene.control.Control.layoutChildren(Control.java:601)
at javafx.scene.Parent.layout(Parent.java:1207)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Parent.layout(Parent.java:1214)
at javafx.scene.Scene.doLayoutPass(Scene.java:576)
at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2476)
at com.sun.javafx.tk.Toolkit.lambda$runPulse$2(Toolkit.java:413)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:412)
at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:439)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:563)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:543)
at com.sun.javafx.tk.quantum.QuantumToolkit.pulseFromQueue(QuantumToolkit.java:536)
at com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$11(QuantumToolkit.java:342)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:96)
at com.sun.glass.ui.gtk.GtkApplication._runLoop(Native Method)
at com.sun.glass.ui.gtk.GtkApplication.lambda$runLoop$11(GtkApplication.java:277)
at java.base/java.lang.Thread.run(Thread.java:840)
Screenshots
Device or machine
Server class hardware, Fedora Linux
Additional info
The text was updated successfully, but these errors were encountered: