Summary: | NullPointerExeption on table with border-separation="[value]" | ||
---|---|---|---|
Product: | Fop - Now in Jira | Reporter: | diethard <diethard.kumpf> |
Component: | fo tree | Assignee: | fop-dev |
Status: | CLOSED FIXED | ||
Severity: | critical | CC: | boris_k, diethard.kumpf, jeff |
Priority: | P1 | Keywords: | FixedInTrunk |
Version: | 0.92 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Windows Server 2003 | ||
URL: | http://www.dimari.de |
Description
diethard
2006-06-03 13:35:01 UTC
Sorry for the delay in responding to this... Confirmed: I altered our testcase 'table-border-separate3.xml' to use border-separation="...", and the test no longer completes succesfully, although I don't receive a NPE during the test cycle (again: a completely empty area tree is the result). Running the FO standalone throws an NPE with the following stack trace: java.lang.NullPointerException at org.apache.fop.fo.properties.CompoundPropertyMaker.convertProperty (CompoundPropertyMaker.java:172) at org.apache.fop.fo.properties.LengthPairProperty$Maker.convertProperty (LengthPairProperty.java:61) at org.apache.fop.fo.properties.PropertyMaker.make(PropertyMaker.java:437) at org.apache.fop.fo.properties.CompoundPropertyMaker.make(CompoundPropertyMaker.java: 212) at org.apache.fop.fo.PropertyList.convertAttributeToProperty(PropertyList.java:355) at org.apache.fop.fo.PropertyList.addAttributesToList(PropertyList.java:305) at org.apache.fop.fo.FObj.processNode(FObj.java:122) at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.startElement(FOTreeBuilder.java:318) at org.apache.fop.fo.FOTreeBuilder.startElement(FOTreeBuilder.java:185) FWIW, just ran a second test, specifying the border-separation fully, like: border-separation.block-progression-direction="..." border-separation.inline-progression-direction="..." and then the test completes succesfully. Fixed in FOP Trunk: http://svn.apache.org/viewvc?rev=412714&view=rev Thanks for reporting! *** Bug 40186 has been marked as a duplicate of this bug. *** *** Bug 40744 has been marked as a duplicate of this bug. *** batch transition pre-FOP1.0 resolved+fixed bugs to closed+fixed |