Hi,

I'm trying out FOP 0.93 using the command-line and my input is an FO
file. However I got this error message when I tried running it:

SEVERE: Exception
java.lang.IllegalStateException: FOTreeBuilder (and the Fop class)
cannot be reused. Please instantiate a new instance.
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:168)
       at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
       at org.apache.fop.cli.Main.startFOP(Main.java:160)
       at org.apache.fop.cli.Main.main(Main.java:191)
---------
java.lang.IllegalStateException: FOTreeBuilder (and the Fop class)
cannot be reused. Please instantiate a new instance.
       at
org.apache.fop.fo.FOTreeBuilder.startDocument(FOTreeBuilder.java:147)
       at
net.sf.saxon.event.ContentHandlerProxy.open(ContentHandlerProxy.java:242)
       at net.sf.saxon.event.ProxyReceiver.open(ProxyReceiver.java:76)
       at
net.sf.saxon.event.ReceivingContentHandler.startDocument(ReceivingContentHandler.java:145)
       at
org.apache.xerces.parsers.AbstractSAXParser.startDocument(Unknown Source)
       at
org.apache.xerces.impl.dtd.XMLDTDValidator.startDocument(Unknown Source)
       at
org.apache.xerces.impl.XMLDocumentScannerImpl.startEntity(Unknown Source)
       at
org.apache.xerces.impl.XMLVersionDetector.startDocumentParsing(Unknown
Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
       at org.apache.xerces.parsers.XML11Configuration.parse(Unknown
Source)
       at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
       at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
       at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
       at net.sf.saxon.event.Sender.sendSAXSource(Sender.java:269)
       at net.sf.saxon.event.Sender.send(Sender.java:144)
       at
net.sf.saxon.IdentityTransformer.transform(IdentityTransformer.java:29)
       at
org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:165)
       at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:115)
       at org.apache.fop.cli.Main.startFOP(Main.java:160)
       at org.apache.fop.cli.Main.main(Main.java:191)

After googling for some related problems, users list the same problem
when running a transformation using saxon, but in my case i did not run
a transformation and have a FO file as input for FOP.

I'm running FOP in a JRE 1.5.0_09 in a Windows XP.

Also when i tried using FOP 0.20.5, i was able to create a PDF output.

How can i resolve this problem?

TIA
--
*Jeff Sese*


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

Reply via email to