odd error during PDF generation
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 13
- Joined: Tue Jul 27, 2004 6:41 am
- Location: Bremen/Germany
- Contact:
odd error during PDF generation
Hi again,
I get this error:
"E The process ended with code : 2 The error was : [ERROR] null"
It doesn't say, why.
I get it as soon as I try to produce a PDF from Docbook. Would you think this could be a bug in Apache FOP?
Just producing the .fo files works.
Daniel
I get this error:
"E The process ended with code : 2 The error was : [ERROR] null"
It doesn't say, why.

Just producing the .fo files works.

Daniel
-
- Site Admin
- Posts: 2095
- Joined: Thu Jan 09, 2003 2:58 pm
-
- Posts: 13
- Joined: Tue Jul 27, 2004 6:41 am
- Location: Bremen/Germany
- Contact:
Hi George,
thanks for the hint. I got some more information, but still no real clarity... that is what it is printing:
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] null
Process ended with exit code: 2
It does indeed seem that FOP is the bad guy here. Grr.
Daniel
thanks for the hint. I got some more information, but still no real clarity... that is what it is printing:
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] FOP 0.20.5
[INFO] Using org.apache.xerces.parsers.SAXParser as SAX2 Parser
[INFO] building formatting object tree
[INFO] setting up fonts
[ERROR] null
Process ended with exit code: 2
It does indeed seem that FOP is the bad guy here. Grr.
Daniel
-
- Posts: 13
- Joined: Tue Jul 27, 2004 6:41 am
- Location: Bremen/Germany
- Contact:
-
- Posts: 4141
- Joined: Fri Mar 28, 2003 2:12 pm
Post by sorin_ristache »
Hi,
For the included FOP you can't because the FOP user config file doesn't contain an entry for this setting. However you can use the included FOP as an external FO processor and set the -d param in the command line. For this you have to go to Options -> Preferences -> XSLT/FO -> FO processors, add a new external FO processor, set the working directory to the oXygen install directory and copy and paste the following command line:
Then select this FO processor in the tab "FO processor" of the transform scenario edit dialog before you repeat the PDF transform.
Regards,
Sorin
For the included FOP you can't because the FOP user config file doesn't contain an entry for this setting. However you can use the included FOP as an external FO processor and set the -d param in the command line. For this you have to go to Options -> Preferences -> XSLT/FO -> FO processors, add a new external FO processor, set the working directory to the oXygen install directory and copy and paste the following command line:
Code: Select all
java -cp lib/fop.jar;lib/batik.jar;lib/xml-apis.jar;lib/xercesImpl.jar;lib/avalon-framework-4.1.3.jar; org.apache.fop.apps.Fop -d -fo ${fo} -pdf ${out}
Regards,
Sorin
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service