I'm not sure how base directory is calculated, but I'm running the command from C:\temp\fop like this:
C:\TEMP\FOP> fop test\story.fo test\story.pdf Is this a bug that it's then recognizing the basedir as C:/TEMP/FOP/test/ ? -- On Fri, 25 Oct 2002 10:57:29 Matthew L. Avizinis wrote: >Well it looks like if your base directory is C:/TEMP/FOP/test/ and you're >attempting to compile test\story.fo FOP won't find anything there. Try just >story.fo and story.pdf > > Matthew L. Avizinis <mailto:mla@;gleim.com> >Gleim Publications, Inc. > 4201 NW 95th Blvd. > Gainesville, FL 32606 >(352)-375-0772 > www.gleim.com <http://www.gleim.com> > >> -----Original Message----- >> From: Curtis A. Weyant [mailto:dylan38@;angelfire.com] >> Sent: Friday, October 25, 2002 10:48 AM >> To: [EMAIL PROTECTED] >> Subject: Problem >> >> >> I seem to be having a problem creating my PDF from a FO document. >> I'm using a Windows 2000 machine (under the DOS command prompt). >> Can somebody please help me figure out what's wrong? >> >> Here's the output below: >> >> >> C:\TEMP\FOP>java -cp >> build\fop.jar;lib\batik.jar;lib\xalan-2.3.1.jar;lib\xercesImpl-2.0 >> .1.jar;lib\xml-apis.jar;lib\avalon-framework-cvs-20020315.jar;lib\ >> logkit-1.0.jar;lib\jimi-1.0.jar org.apache.fop.apps.Fop -d >> test\story.fo test\story.pdf >> [DEBUG] Input mode: >> [DEBUG] FO >> [DEBUG] fo input file: test\story.fo >> [DEBUG] Output mode: >> [DEBUG] pdf >> [DEBUG] output file: test\story.pdf >> [DEBUG] OPTIONS >> [DEBUG] no user configuration file is used [default] >> [DEBUG] debug mode on >> [DEBUG] dump configuration >> [DEBUG] quiet mode on >> [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser >> [DEBUG] base directory: file:/C:/TEMP/FOP/test/ >> [INFO] FOP 0.20.4 >> [DEBUG] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser >> [INFO] building formatting object tree >> [DEBUG] setting up fonts >> [ERROR] null >> >> org.apache.fop.apps.FOPException >> at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) >> at org.apache.fop.apps.Fop.main(Unknown Source) >> >> --------- >> >> java.lang.NullPointerException >> at >> org.apache.fop.fo.pagination.PageSequence.getNextPageMaster(Unknow >> n Source) >> at >> org.apache.fop.fo.pagination.PageSequence.makePage(Unknown Source) >> at org.apache.fop.fo.pagination.PageSequence.format(Unknown Source) >> at org.apache.fop.apps.StreamRenderer.render(Unknown Source) >> at org.apache.fop.fo.FOTreeBuilder.endElement(Unknown Source) >> at >> org.apache.xerces.parsers.AbstractSAXParser.endElement(AbstractSAX >> Parser.java, Compiled Code) >> at >> org.apache.xerces.impl.XMLNamespaceBinder.handleEndElement(XMLName >> spaceBinder.java, Compiled Code) >> at >> org.apache.xerces.impl.XMLNamespaceBinder.endElement(XMLNamespaceB >> inder.java:643) >> at >> org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(XMLDTD >> Validator.java, Compiled Code) >> at >> org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(XMLDTDValida >> tor.java:918) >> at >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.handleEndEle >> ment(XMLDocumentFragmentScannerImpl.java, Compiled Code) >> at >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndEleme >> nt(XMLDocumentFragmentScannerImpl.java:988) >> at >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentCont >> entDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java, Compiled Code) >> at >> org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument >> (XMLDocumentFragmentScannerImpl.java, Compiled Code) >> at >> org.apache.xerces.parsers.StandardParserConfiguration.parse(Standa >> rdParserConfiguration.java:529) >> at >> org.apache.xerces.parsers.StandardParserConfiguration.parse(Standa >> rdParserConfiguration.java:585) >> at org.apache.xerces.parsers.XMLParser.parse(XMLParser.java:147) >> at >> org.apache.xerces.parsers.AbstractSAXParser.parse(AbstractSAXParse >> r.java:1148) >> at org.apache.fop.apps.Driver.render(Unknown Source) >> at org.apache.fop.apps.CommandLineStarter.run(Unknown Source) >> at org.apache.fop.apps.Fop.main(Unknown Source) >> >> >> ____________________________________________________________ >> Get 25MB of email storage with Lycos Mail Plus! >> Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, email: [EMAIL PROTECTED] >> > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, email: [EMAIL PROTECTED] > > ____________________________________________________________ Get 25MB of email storage with Lycos Mail Plus! Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
