Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Cannot Reproduce
-
1.1
-
None
-
None
-
Windows 7, Windows 8.1
Description
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.
the issue with headless was fixed a long time ago in trunk: http://svn.apache.org/viewvc?view=revision&revision=1390331. the exception you get I cannot reproduce in general although I have seen that in the past using a Mac. however, on Windows 7 and 8.1, I get an empty viewer so it seems there is an issue but not the one reported.