[
https://issues.apache.org/jira/browse/PDFBOX-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tilman Hausherr updated PDFBOX-5181:
------------------------------------
Description:
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.
was:
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}
> 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
> Affects Versions: 3.0.0 PDFBox
> Reporter: Tilman Hausherr
> Priority: Major
>
> 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]