Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
xsltfile in CommandLineOptions is not initialized when dump configuration with -xml option
I run the command as follows:
java org.apache.fop.cli.Main --dump-config -xml input.xml
I got NullPointerException
The code below deference xsltfile while xsltfile is not initialized.
case XSLT_INPUT:
log.info("xslt transformation");
if (isInputFromStdIn())
else
{ log.info("xml input file: " + xmlfile.toString()); } log.info("xslt stylesheet: " + xsltfile.toString());
break;