xmlgraphics-fop-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vhenneb...@apache.org
Subject svn commit: r1544199 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java
Date Thu, 21 Nov 2013 14:50:24 GMT
Author: vhennebert
Date: Thu Nov 21 14:50:24 2013
New Revision: 1544199

URL: http://svn.apache.org/r1544199
Log:
FOP-2317: crash when issuing warning for invalid property value
Patch by Seifeddine Dridi

Modified:
    xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java

Modified: xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java
URL: http://svn.apache.org/viewvc/xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java?rev=1544199&r1=1544198&r2=1544199&view=diff
==============================================================================
--- xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java (original)
+++ xmlgraphics/fop/trunk/src/java/org/apache/fop/fo/FObj.java Thu Nov 21 14:50:24 2013
@@ -149,7 +149,7 @@ public abstract class FObj extends FONod
             String attributeName = attList.getQName(i);
             String attributeValue = attList.getValue(i);
             Property prop = propertyList.getPropertyForAttribute(attList, attributeName,
attributeValue);
-            if (prop.equals(value)) {
+            if (prop != null && prop.equals(value)) {
                 return attributeName;
             }
         }



---------------------------------------------------------------------
To unsubscribe, e-mail: fop-commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-commits-help@xmlgraphics.apache.org


Mime
View raw message