You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2012/09/18 14:06:09 UTC
[Bug 53887] New: -awt command line option broken throwing
HeadlessException
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
Priority: P2
Bug ID: 53887
Assignee: fop-dev@xmlgraphics.apache.org
Summary: -awt command line option broken throwing
HeadlessException
Severity: normal
Classification: Unclassified
OS: Windows XP
Reporter: apache@hummeling.com
Hardware: PC
Status: NEW
Version: 1.1dev
Component: awt renderer
Product: Fop
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)
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53887] -awt command line option broken throwing
HeadlessException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
Mehdi Houshmand <me...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Hardware|PC |All
OS|Windows XP |All
--- Comment #2 from Mehdi Houshmand <me...@gmail.com> ---
This also happens in trunk in a linux environment (Ubuntu 12.04
3.2.0-30-generic). I'll take a look
--
You are receiving this mail because:
You are the assignee for the bug.
Re: [Bug 53887] -awt command line option broken throwing HeadlessException
Posted by Glenn Adams <gl...@skynav.com>.
go ahead
On Mon, Sep 24, 2012 at 6:04 PM, <bu...@apache.org> wrote:
> https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
>
> --- Comment #3 from Mehdi Houshmand <me...@gmail.com> ---
> Ok, I took a quick look at this, and it seems to be caused by bug#50062.
>
> Glenn, would you be alright with me reverting this change? Users can add
> the
> "-Djava.awt.headless=true" as Chris suggested, but this shouldn't be the
> default as it blocks invocation of the AWT renderer.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
>
[Bug 53887] -awt command line option broken throwing
HeadlessException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
--- Comment #3 from Mehdi Houshmand <me...@gmail.com> ---
Ok, I took a quick look at this, and it seems to be caused by bug#50062.
Glenn, would you be alright with me reverting this change? Users can add the
"-Djava.awt.headless=true" as Chris suggested, but this shouldn't be the
default as it blocks invocation of the AWT renderer.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53887] -awt command line option broken throwing
HeadlessException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
--- Comment #1 from Chris Bowditch <bo...@hotmail.com> ---
Thanks for the bug report. I confirm that this issue exists in FOP v1.1rc when
running on a Windows machine which clearly has a Graphics environment
available.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53887] -awt command line option broken throwing
HeadlessException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
Mehdi Houshmand <me...@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO
--- Comment #4 from Mehdi Houshmand <me...@gmail.com> ---
This has been fixed in r1390331. Please could you make sure that it works on
your machine and set the status to fixed if you're happy.
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53887] -awt command line option broken throwing
HeadlessException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
Glenn Adams <ga...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kgalbrecht@gmx.de
--- Comment #6 from Glenn Adams <ga...@apache.org> ---
*** Bug 54164 has been marked as a duplicate of this bug. ***
--
You are receiving this mail because:
You are the assignee for the bug.
[Bug 53887] -awt command line option broken throwing
HeadlessException
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=53887
Ralph Hummeling <ap...@hummeling.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEEDINFO |RESOLVED
Resolution|--- |FIXED
--- Comment #5 from Ralph Hummeling <ap...@hummeling.com> ---
Confirmed AWT command line option repaired.
--
You are receiving this mail because:
You are the assignee for the bug.