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: [EMAIL PROTECTED]


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.

Reply via email to