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 2001/04/10 18:25:07 UTC

[Bug 1290] New - org.apache.fop.apps.CommandLineOptions#checkSettings() (0.18.1-DEV) throws NullPointerException

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=1290

*** shadow/1290	Tue Apr 10 09:25:07 2001
--- shadow/1290.tmp.26137	Tue Apr 10 09:25:07 2001
***************
*** 0 ****
--- 1,29 ----
+ +============================================================================+
+ | org.apache.fop.apps.CommandLineOptions#checkSettings() (0.18.1-DEV) throws |
+ +----------------------------------------------------------------------------+
+ |        Bug #: 1290                        Product: Fop                     |
+ |       Status: NEW                         Version: 0.17                    |
+ |   Resolution:                            Platform: All                     |
+ |     Severity: Normal                   OS/Version: All                     |
+ |     Priority: Low                       Component: general                 |
+ +----------------------------------------------------------------------------+
+ |  Assigned To: fop-dev@xml.apache.org                                       |
+ |  Reported By: rkiss@canada.com                                             |
+ |      CC list: Cc:                                                          |
+ +----------------------------------------------------------------------------+
+ |          URL:                                                              |
+ +============================================================================+
+ |                              DESCRIPTION                                   |
+ In the 0.18.1-DEV distribution in org.apache.fop.apps.CommandLineOptions, 
+ method private void checkSettings (), the check if xml file *and* xslt file 
+ have been set is wrong. The code is:
+ 
+ if (xmlfile == null || xsltfile == null){
+ ...
+   "       Your input is \nxmlfile: " +
+   xmlfile.getAbsolutePath() + "\nxsltfile: " +
+   xsltfile.getAbsolutePath());
+ ...
+ }
+ 
+ Of course that the error throwed is java.lang.NullPointException.

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org