Hi All,

I am getting a FOPException error when I sent large number of requests to FOP 
servlet.  I checked the FOPException.java, and can't figure out what is causing 
this problem.  What confuses me is of the
100 pdf requests sent, majority of them came back successful, only a few gave 
me FOPException error.  Would anyone please explain to me why this is 
happening?  Thanks in advance.

David 


Error message:

org.apache.fop.apps.FOPException
        at org.apache.fop.apps.Driver.render(Driver.java:429)
        at org.apache.fop.apps.Driver.run(Driver.java:508)
        at org.apache.fop.tools.servlet.FopServlet.renderFO(FopServlet.java:178)
        at 
org.apache.fop.tools.servlet.FopServlet.renderXml_Xsl(FopServlet.java :203)
        at org.apache.fop.tools.servlet.FopServlet.doGet(FopServlet.java:150)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown 
Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.connector.http.HttpProcessor.process(Unknown 
Source)
        at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:484)

---------

java.lang.NullPointerException
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:1094)
        at org.apache.fop.apps.Driver.render(Driver.java:424)
        at org.apache.fop.apps.Driver.run(Driver.java:508)
        at org.apache.fop.tools.servlet.FopServlet.renderFO(FopServlet.java:178)
        at 
org.apache.fop.tools.servlet.FopServlet.renderXml_Xsl(FopServlet.java:203)
        at org.apache.fop.tools.servlet.FopServlet.doGet(FopServlet.java:150)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown 
Source)
        at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
        at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorDispatcherValve.invoke(Unknown 
Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.ErrorReportValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
        at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
        at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
        at org.apache.catalina.connector.http.HttpProcessor.process(Unknown 
Source)
        at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:484)

---------

java.lang.NullPointerException
        at org.apache.fop.image.BmpImage.loadImage(BmpImage.java:138)
        at 
org.apache.fop.image.AbstractFopImage.getBitmaps(AbstractFopImage.java:212)
        at org.apache.fop.pdf.PDFXObject.output(PDFXObject.java:67)
        at org.apache.fop.pdf.PDFDocument.output(PDFDocument.java:1137)
        at org.apache.fop.render.pdf.PDFRenderer.render(PDFRenderer.java:694)
        at 
org.apache.fop.apps.StreamRenderer.processQueue(StreamRenderer.java:213)
        at 
org.apache.fop.apps.StreamRenderer.addToRenderQueue(StreamRenderer.java:198)
        at org.apache.fop.apps.StreamRenderer.queuePage(StreamRenderer.java:183)
        at org.apache.fop.layout.AreaTree.addPage(AreaTree.java:81)
        at 
org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:306)
        at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:166)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:155)
        at org.apache.xerces.parsers.SAXParser.endElement(SAXParser.java:1403)



Reply via email to