You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by je...@apache.org on 2006/06/14 09:54:02 UTC
svn commit: r414137 -
/xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java
Author: jeremias
Date: Wed Jun 14 00:54:01 2006
New Revision: 414137
URL: http://svn.apache.org/viewvc?rev=414137&view=rev
Log:
Bugzilla #39809:
Fixed NullPointerException when there's no user configuration file for the FOP Ant task.
Modified:
xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java
Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java?rev=414137&r1=414136&r2=414137&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/tools/anttasks/Fop.java Wed Jun 14 00:54:01 2006
@@ -338,7 +338,9 @@
FOPTaskStarter(Fop task) throws SAXException, IOException {
this.task = task;
- fopFactory.setUserConfig(task.getUserconfig());
+ if (task.getUserconfig() != null) {
+ fopFactory.setUserConfig(task.getUserconfig());
+ }
}
private static final String[][] SHORT_NAMES = {
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org