[
https://issues.apache.org/jira/browse/PDFBOX-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Maruan Sahyoun updated PDFBOX-5181:
-----------------------------------
Fix Version/s: 3.0.0 PDFBox
> 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: [email protected]
For additional commands, e-mail: [email protected]