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 2003/07/16 10:49:00 UTC
DO NOT REPLY [Bug 21640] New: -
ClassCastException with Block-container in block
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21640>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=21640
ClassCastException with Block-container in block
Summary: ClassCastException with Block-container in block
Product: Fop
Version: 0.20.5
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: general
AssignedTo: fop-dev@xml.apache.org
ReportedBy: preuss@disy.net
When I use a block-container inside a block, I get the following Exception - it
seems as if the code is expecting an AreaContainer, but getting a BlockArea...
Caused by: java.lang.ClassCastException
at
org.apache.fop.fo.flow.BlockContainer.layout(BlockContainer.java:157)
at org.apache.fop.fo.flow.Block.layout(Block.java:257)
at
org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
at
org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
at org.apache.fop.fo.pagination.PageSequence.makePage
(PageSequence.java:400
)
at
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
at
org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
at
org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
at
org.apache.fop.tools.DocumentReader.parse(DocumentReader.java:503)
at org.apache.fop.apps.Driver.render(Driver.java:498)
at org.apache.fop.apps.Driver.render(Driver.java:518)
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org