Running several threads calling
org.apache.fop.apps.Driver.run(Driver.java:508) causes nullpointer
exceptions.

Is FOP meant to support asynchronous calls and have I found a bug, or is it
not thread safe ?


building formatting object tree
building formatting object tree
building formatting object tree
building formatting object tree
building formatting object tree
setting up fonts
setting up fonts
setting up fonts
setting up fonts
setting up fonts
 [1 [1 [1 [1 [1]] [2] [2]]
---------

11/Feb/2002 17:03:48 GMT+00:00 : Warning 
[null/com.chase.gmcc.base.xml.XMLUtility.renderFO(String, Document)]: Problem - 
reason: [null]
org.apache.fop.apps.FOPException
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.<init>(Throwable.java:94)
        at java.lang.Exception.<init>(Exception.java:42)
        at org.apache.fop.apps.FOPException.<init>(FOPException.java:32)
        at org.apache.fop.apps.Driver.render(Driver.java:429)
        at org.apache.fop.apps.Driver.run(Driver.java:508)
        at com.chase.gmcc.base.xml.XMLUtility.renderFO(XMLUtility.java:257)
        at Test$1$MultiThreadedObjectProcessor.process(Test.java:31)
        at 
com.chase.gmcc.base.utility.AbstractMultiThreadedObjectProcessor$ProcessorThread.run(AbstractMultiThreadedObjectProcessor.java:81)

---------

java.lang.NullPointerException
        at java.lang.Throwable.fillInStackTrace(Native Method)
        at java.lang.Throwable.<init>(Throwable.java:82)
        at java.lang.Exception.<init>(Exception.java:33)
        at org.xml.sax.SAXException.<init>(SAXException.java:61)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:965)
        at org.apache.fop.apps.Driver.render(Driver.java:424)
        at org.apache.fop.apps.Driver.run(Driver.java:508)
        at com.chase.gmcc.base.xml.XMLUtility.renderFO(XMLUtility.java:257)
        at Test$1$MultiThreadedObjectProcessor.process(Test.java:31)
        at 
com.chase.gmcc.base.utility.AbstractMultiThreadedObjectProcessor$ProcessorThread.run(AbstractMultiThreadedObjectProcessor.java:81)
java.lang.NullPointerException
        at org.apache.fop.image.GifJpegImage.loadImage(GifJpegImage.java:134)
        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.queuePage(StreamRenderer.java:181)
        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:1398)
        at 
org.apache.xerces.validators.common.XMLValidator.callEndElement(XMLValidator.java:1019)
        at 
org.apache.xerces.framework.XMLDocumentScanner$ContentDispatcher.dispatch(XMLDocumentScanner.java:1256)
        at 
org.apache.xerces.framework.XMLDocumentScanner.parseSome(XMLDocumentScanner.java:381)
        at org.apache.xerces.framework.XMLParser.parse(XMLParser.java:948)
        at org.apache.fop.apps.Driver.render(Driver.java:424)
        at org.apache.fop.apps.Driver.run(Driver.java:508)
        at com.chase.gmcc.base.xml.XMLUtility.renderFO(XMLUtility.java:257)
        at Test$1$MultiThreadedObjectProcessor.process(Test.java:31)
        at 
com.chase.gmcc.base.utility.AbstractMultiThreadedObjectProcessor$ProcessorThread.run(AbstractMultiThreadedObjectProcessor.java:81)




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to