Jasperreports not working on Linux server without X11: "Error initializing graphic environment."
This looks like an issue with a missing font.
If you happen to be using Alpine then you might be seeing issue #73, which has the same relevant stack trace. According to that issue, installing the ttf-dejavu
package should fix your problem.
Add this to your dockerfile:
RUN apk add ttf-dejavu