You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pdfbox.apache.org by "Maruan Sahyoun (Jira)" <ji...@apache.org> on 2021/04/30 13:01:00 UTC
[jira] [Resolved] (PDFBOX-5181) pdfbox-app doesn't run in a
headless environment
[ https://issues.apache.org/jira/browse/PDFBOX-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Maruan Sahyoun resolved PDFBOX-5181.
------------------------------------
Resolution: Fixed
Resolved as per user feedback. [~jmvezic] Tahnsk for the report and your feedback.
> pdfbox-app doesn't run in a headless environment
> ------------------------------------------------
>
> Key: PDFBOX-5181
> URL: https://issues.apache.org/jira/browse/PDFBOX-5181
> Project: PDFBox
> Issue Type: Bug
> Components: Utilities
> Affects Versions: 3.0.0 PDFBox
> Reporter: Tilman Hausherr
> Assignee: Maruan Sahyoun
> Priority: Major
> Fix For: 3.0.0 PDFBox
>
>
> Follow-up to PDFBOX-2602
> {code}
> ...
> Caused by: java.awt.HeadlessException:
> No X11 DISPLAY variable was set, but this program performed an operation which requires it.
> at java.desktop/java.awt.GraphicsEnvironment.checkHeadless(GraphicsEnvironment.java:208)
> at java.desktop/java.awt.Window.<init>(Window.java:548)
> at java.desktop/java.awt.Frame.<init>(Frame.java:423)
> at java.desktop/java.awt.Frame.<init>(Frame.java:388)
> at java.desktop/javax.swing.JFrame.<init>(JFrame.java:180)
> at org.apache.pdfbox.debugger.PDFDebugger.<init>(PDFDebugger.java:208)
> ... 18 more
> {code}
> PDFDebugger it itself an awt object (a JFrame).
> We may also run into problems with tools that use awt, e.g. PDFToImage.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@pdfbox.apache.org
For additional commands, e-mail: dev-help@pdfbox.apache.org