https://issues.apache.org/bugzilla/show_bug.cgi?id=46867
Summary: afp:invoke-medium-map extension doesn't work in the
AFP Renderer
Product: Fop
Version: 1.0dev
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: critical
Priority: P1
Component: general
AssignedTo: [email protected]
ReportedBy: [email protected]
This bug report is related to revision 749251 (
https://svn.apache.org/viewcvs.cgi?view=rev&rev=749251 ). When the attached FO
is first
rendered to Area Tree XML and then the Area Trea parsed to generate AFP with
<prefer-renderer> option set to true in fop.xconf the following exception
occurs:
SEVERE: Exception
java.lang.NullPointerException
at
org.apache.fop.afp.modca.TagLogicalElement.writeToStream(TagLogicalEl
ement.java:86)
at
org.apache.fop.afp.modca.AbstractResourceGroupContainer.writeObjects(
AbstractResourceGroupContainer.java:150)
at org.apache.fop.afp.modca.PageGroup.writeContent(PageGroup.java:91)
at
org.apache.fop.afp.modca.AbstractResourceGroupContainer.writeToStream
(AbstractResourceGroupContainer.java:135)
at
org.apache.fop.afp.modca.AbstractResourceGroupContainer.writeObjects(
AbstractResourceGroupContainer.java:150)
at
org.apache.fop.afp.modca.AbstractPageObject.writeContent(AbstractPage
Object.java:320)
at
org.apache.fop.afp.modca.AbstractResourceEnvironmentGroupContainer.wr
iteContent(AbstractResourceEnvironmentGroupContainer.java:82)
at
org.apache.fop.afp.modca.AbstractResourceGroupContainer.writeToStream
(AbstractResourceGroupContainer.java:135)
The Area Tree XML looks fine, I can see the invoke-medium-map extension
element. It looks like the Renderer is treating the invoke-medium-map extension
as a TLE. Hopefully I will be able to add a patch soon
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.