You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2005/11/16 03:20:33 UTC
DO NOT REPLY [Bug 37521] New: -
TableColLength throws misleading exception; s/PercentageBaseContext/PercentBaseContext/
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37521>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37521
Summary: TableColLength throws misleading exception;
s/PercentageBaseContext/PercentBaseContext/
Product: Fop
Version: all
Platform: Other
OS/Version: other
Status: NEW
Severity: trivial
Priority: P2
Component: fo tree
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: bugzilla@mdaniel.scdi.com
Note how the very kind getValue():double tells that the method is deprecated,
but does so such that `grep -rl PercentageBaseContext src` only yields
TableColLength. If TableColLength is modified using the attached patch, the grep
is at least a lot more accurate (even if no further toward solving what's wrong
with RTFHandler).
startColumn: Must call getValue with PercentageBaseContext
java.lang.UnsupportedOperationException: Must call getValue with
PercentageBaseContext
at org.apache.fop.fo.properties.TableColLength.getValue(TableColLength.java:94)
at org.apache.fop.render.rtf.RTFHandler.startColumn(RTFHandler.java:490)
at org.apache.fop.render.rtf.RTFHandler.invokeDeferredEvent(RTFHandler.java:1315)
at org.apache.fop.render.rtf.RTFHandler.recurseFONode(RTFHandler.java:1342)
at org.apache.fop.render.rtf.RTFHandler.recurseFONode(RTFHandler.java:1364)
at org.apache.fop.render.rtf.RTFHandler.recurseFONode(RTFHandler.java:1400)
at org.apache.fop.render.rtf.RTFHandler.recurseFONode(RTFHandler.java:1400)
at org.apache.fop.render.rtf.RTFHandler.recurseFONode(RTFHandler.java:1358)
at org.apache.fop.render.rtf.RTFHandler.endPageSequence(RTFHandler.java:208)
at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:156)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:307)
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.