[ 
https://issues.apache.org/jira/browse/PDFBOX-5181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17337136#comment-17337136
 ] 

Jakov Vežić commented on PDFBOX-5181:
-------------------------------------

All commands now run perfectly, thanks!

> 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-unsubscr...@pdfbox.apache.org
For additional commands, e-mail: dev-h...@pdfbox.apache.org

Reply via email to