Closed JonathanCosta closed 1 month ago
I think it may be related to this comment. https://github.com/aws/aws-lambda-java-libs/issues/204#issuecomment-1577693473
I also found this https://rollbar.com/blog/java-headlessexception/ I'm trying to check where the problem is
I found the error. The error happened after my Ubuntu update. To solve it I had to run:
sudo apt install openjdk-21-jdk
As shown in the link below
Describe the bug
When attempting to run the application, it throws multiple warnings and errors related to unrecognized format specifiers in the log and a
HeadlessException
because no X11DISPLAY
variable is set.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The application should launch and display the main window without throwing errors.
Screenshots
N/A (No graphical interface appears due to the
HeadlessException
).Desktop (please complete the following information):
Additional context
Here is the full error log:
Java version:
It seems that the application requires a graphical environment (X11) but is being run in a headless environment. Additionally, the logging configuration might have some incorrect format specifiers.