Leo created FOP-2282:
------------------------

             Summary: xsltfile in CommandLineOptions is not initialized when 
dump configuration with -xml option 
                 Key: FOP-2282
                 URL: https://issues.apache.org/jira/browse/FOP-2282
             Project: Fop
          Issue Type: Bug
            Reporter: Leo


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()) {
                log.info("xml input file: from stdin");
            } else {
                log.info("xml input file: " + xmlfile.toString());
            }
            log.info("xslt stylesheet: " + xsltfile.toString());
            break;

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to