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 Martin Mauri <mm...@profesi.com.ar> on 2001/03/15 16:14:26 UTC
Problem with FOP!
Hi cocooners:
could anyone give me an idea of what this error means when I'm trying to process my XML with FOP?
java.lang.ClassCastException: org.apache.fop.fo.FObjMixed
at org.apache.fop.fo.flow.TableBody.layout(TableBody.java:157)
at org.apache.fop.fo.flow.Table.layout(Table.java:215)
at org.apache.fop.fo.flow.Flow.layout(Flow.java:140)
at org.apache.fop.fo.flow.Flow.layout(Flow.java:126)
at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:314)
at org.apache.fop.fo.pagination.Root.format(Root.java:116)
at org.apache.fop.fo.FOTreeBuilder.format(FOTreeBuilder.java:299)
at org.apache.fop.apps.Driver.format(Driver.java:437)
at org.apache.cocoon.formatter.FO2PDFFormatter.format(FO2PDFFormatter.java:158)
at org.apache.cocoon.Engine.handle(Engine.java:401)
at org.apache.cocoon.Cocoon.service(Cocoon.java:183)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404)
at org.apache.tomcat.core.Handler.service(Handler.java:286)
at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:797)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:210)
at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
at java.lang.Thread.run(Thread.java:484)
thanks in advance!
Lic. Martin O. Mauri
Profesion + Auge A.F.J.P
Parana 666 - Cap. Federal
TE: (011) 4373-7786/7 int: 422
mmauri@profesi.com.ar
www.profesi.com.ar
Re: Problem with FOP!
Posted by Keiron Liddle <ke...@aftexsw.com>.
Martin Mauri wrote:
> Hi cocooners:
>
> could anyone give me an idea of what this error means when I'm trying to process my XML with FOP?
>
> java.lang.ClassCastException: org.apache.fop.fo.FObjMixed
> at org.apache.fop.fo.flow.TableBody.layout(TableBody.java:157)
> at org.apache.fop.fo.flow.Table.layout(Table.java:215)
>
> <http://www.profesi.com.ar>
>
This means that you have something other than a table-row inside the
table-body (or possibly table-header or table-footer).
Currently having table-cell's inside the table-body is not supported and
nothing else is allowed by the spec.
As a guess I think you have some text or some unknown element inside the
table-body.
The current cvs handles this problem better.
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-dev-unsubscribe@xml.apache.org
For additional commands, email: fop-dev-help@xml.apache.org