java.awt.HeadlessException

0 votes
asked Mar 8, 2021 in Won't fix by anonymous
I am running with -Djava.awt.headless=true on openjre8.  

The exception is as follows: (attempting to run plantuml on markdown)

Error in "uml" directive: b'Mar 08, 2021 3:34:06 AM java.util.prefs.FileSystemPreferences$1 run\nINFO: Created user preferences directory.\nException in thread "main" java.awt.HeadlessException\n\tat java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)\n\tat java.awt.Window.<init>(Window.java:536)\n\tat java.awt.Frame.<init>(Frame.java:420)\n\tat javax.swing.JFrame.<init>(JFrame.java:232)\n\tat net.sourceforge.plantuml.swing.MainWindow2.<init>(MainWindow2.java:159)\n\tat net.sourceforge.plantuml.Run.main(Run.java:174)\n'
Error in "uml" directive: b'Exception in thread "main" java.awt.HeadlessException\n\tat java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:204)\n\tat java.awt.Window.<init>(Window.java:536)\n\tat java.awt.Frame.<init>(Frame.java:420)\n\tat javax.swing.JFrame.<init>(JFrame.java:232)\n\tat net.sourceforge.plantuml.swing.MainWindow2.<init>(MainWindow2.java:159)\n\tat net.sourceforge.plantuml.Run.main(Run.java:174)\n'
commented Mar 8, 2021 by albert (3,540 points)
Would be useful when you also add the version of plantuml you are using and the input file

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...