https://issues.apache.org/bugzilla/show_bug.cgi?id=5010
Jesse Glick <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #7 from Jesse Glick <[email protected]> 2012-04-04 20:59:39 UTC --- Duplicate bug #6539 did provide a complete test case. Still reproducible in FOP 0.20.3 a decade later using JDK 7 (!): java.lang.NullPointerException at org.apache.fop.fo.PropertyManager.getTextDecoration(PropertyManager.java:260) at org.apache.fop.fo.flow.Block.<init>(Block.java:75) at org.apache.fop.fo.flow.Block$Maker.make(Block.java:37) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:261) When updated to use FOP 1.0, a more reasonable error is produced: org.apache.fop.fo.ValidationException: "{http://www.w3.org/1999/XSL/Format}block" is not a valid child of "fo:root"! (See position 1:5275) at org.apache.fop.events.ValidationExceptionFactory.createException(ValidationExceptionFactory.java:38) at org.apache.fop.events.EventExceptionManager.throwException(EventExceptionManager.java:54) at org.apache.fop.events.DefaultEventBroadcaster$1.invoke(DefaultEventBroadcaster.java:175) at $Proxy0.invalidChild(Unknown Source) at org.apache.fop.fo.FONode.invalidChildError(FONode.java:534) at org.apache.fop.fo.FONode.invalidChildError(FONode.java:517) at org.apache.fop.fo.pagination.Root.validateChildNode(Root.java:133) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:267) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:171) So this was fixed somewhere along the line and the fixer just did not know about this bug report. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
