gmazza 2004/07/16 03:52:03 Modified: src/java/org/apache/fop/render/rtf/rtflib/rtfdoc RtfListTable.java Log: Null pointer check added to code, to stop NPE error (unsure if other problems also present). Revision Changes Path 1.5 +4 -2 xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListTable.java Index: RtfListTable.java =================================================================== RCS file: /home/cvs/xml-fop/src/java/org/apache/fop/render/rtf/rtflib/rtfdoc/RtfListTable.java,v retrieving revision 1.4 retrieving revision 1.5 diff -u -r1.4 -r1.5 --- RtfListTable.java 27 Feb 2004 17:54:01 -0000 1.4 +++ RtfListTable.java 16 Jul 2004 10:52:02 -0000 1.5 @@ -188,7 +188,9 @@ writeOneAttributeNS(LIST_INDENT, attrib.getValue(LIST_INDENT)); RtfListItem item = (RtfListItem)list.getChildren().get(0); - item.getRtfListStyle().writeLevelGroup(this); + if (item != null) { + item.getRtfListStyle().writeLevelGroup(this); + } writeGroupMark(false);
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]