Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
2.5
-
None
-
None
-
Operating System: All
Platform: All
-
53887
Description
The AWTRenderer won't appear from the command line throwing a HeadlessException
>fop -fo examples\fo\basic\normal.fo -awt
18-Sep-2012 14:00:42 org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.awt.HeadlessException
at java.awt.GraphicsEnvironment.checkHeadless(Unknown Source)
at java.awt.Window.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at java.awt.Frame.<init>(Unknown Source)
at javax.swing.JFrame.<init>(Unknown Source)
at org.apache.fop.render.awt.viewer.PreviewDialog.<init>(PreviewDialog.java:110)
at org.apache.fop.render.awt.viewer.PreviewDialog.createPreviewDialog(PreviewDialog.java:275)
at org.apache.fop.render.awt.AWTRenderer.<init>(AWTRenderer.java:99)
at org.apache.fop.cli.CommandLineOptions.parse(CommandLineOptions.java:211)
at org.apache.fop.cli.Main.startFOP(Main.java:161)
at org.apache.fop.cli.Main.main(Main.java:208)
Attachments
Issue Links
- is duplicated by
-
FOP-2162 java.awt.HeadlessException
- Resolved