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

White screen #34

Open
kozachynskyi opened this issue Jul 30, 2019 · 2 comments
Open

White screen #34

kozachynskyi opened this issue Jul 30, 2019 · 2 comments
Labels
documentation Improvements or additions to documentation

Comments

@kozachynskyi
Copy link

Hi, when I start in -gui mode I see no windows, just empty white screen. The command line version is working and producing png files.

VoidLinux
openjdk version "1.8.0_202"
OpenJDK Runtime Environment (build 1.8.0_202-b00)
OpenJDK 64-Bit Server VM (build 25.202-b00, mixed mode)
xorg minimal

plantuml -v -gui (0.000 - 119 Mo) 114 Mo - PlantUML Version 1.2019.07 (0.002 - 119 Mo) 114 Mo - GraphicsEnvironment.isHeadless() false (0.002 - 119 Mo) 114 Mo - Forcing resource load on OpenJdk (0.415 - 119 Mo) 111 Mo - Showing MainWindow (0.488 - 119 Mo) 111 Mo - Init done (0.491 - 119 Mo) 111 Mo - Timer started

@kozachynskyi
Copy link
Author

When running with -headless

plantuml -headless -v -gui
(0.000 - 119 Mo) 114 Mo - PlantUML Version 1.2019.07
(0.002 - 119 Mo) 114 Mo - GraphicsEnvironment.isHeadless() true
(0.003 - 119 Mo) 114 Mo - Forcing -Djava.awt.headless=true
(0.003 - 119 Mo) 114 Mo - java.awt.headless set as true
(0.003 - 119 Mo) 114 Mo - Forcing resource load on OpenJdk
Exception in thread "main" java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)
at java.awt.Window.(Window.java:536)
at java.awt.Frame.(Frame.java:420)
at javax.swing.JFrame.(JFrame.java:233)
at net.sourceforge.plantuml.swing.MainWindow2.(MainWindow2.java:157)
at net.sourceforge.plantuml.Run.main(Run.java:162)

@bakkeby
Copy link

bakkeby commented Oct 15, 2020

Just for reference issues like this has to do with running a window manager that does not support reparenting. Try running this before starting the application.

export _JAVA_AWT_WM_NONREPARENTING=1

@arnaudroques arnaudroques added the documentation Improvements or additions to documentation label Mar 20, 2023
@arnaudroques arnaudroques transferred this issue from plantuml/plantuml Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants