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 "nick.heyworth (JIRA)" <ji...@apache.org> on 2014/03/26 09:59:14 UTC

[jira] [Created] (FOP-2360) Can no longer get -awt (FOP viewer) to work

nick.heyworth created FOP-2360:
----------------------------------

             Summary: Can no longer get -awt (FOP viewer) to work
                 Key: FOP-2360
                 URL: https://issues.apache.org/jira/browse/FOP-2360
             Project: Fop
          Issue Type: Bug
          Components: awt renderer
    Affects Versions: 1.1
         Environment: Windows 7, Windows 8.1
            Reporter: nick.heyworth
         Attachments: tmp.fo

Calling

fop.bat -fo tmp.fo -awt

results in

"SEVERE: Exception
java.awt.HeadlessException"

due to

-Djava.awt.headless=true

in fop.bat which is there since FOP 1.1. Removing this at least opens the viewer, but no document is displayed, and I get

"org.apache.fop.apps.FOPException: Requested page number is out of range: 0; only 0 page(s) available."

This occurs for any XML-FO file; an example is attached.



--
This message was sent by Atlassian JIRA
(v6.2#6252)