xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David <achepat...@yahoo.es>
Subject Re: Java Result: 2 Why?
Date Fri, 05 May 2006 12:17:26 GMT
Jeremias Maerki,
   
  Concerning to the ant task I am directly invoking java, do you think gain something invoking
it via ant?
   
  Greate, the -d option gives a little more details, thanks, but no so much from the user
point of view. I get the following output:
   
  Buildfile: P:\LRA\build.xml
  check-build-doc:
  doc2pdf:
  [echo] INFO(lra): Generating intermediate file...
  [docbook] Making portrait pages on A4 paper (210mmx297mm)
  [echo] INFO(lra): Generating pdf file...
  [docbook] [DEBUG] Input mode:
  [docbook] [DEBUG] FO
  [docbook] [DEBUG] fo input file: P:\LRA\build\doc\pdf\docbook_fop.tmp
  [docbook] [DEBUG] Output mode:
  [docbook] [DEBUG] pdf
  [docbook] [DEBUG] output file: P:\LRA\build\doc\pdf\lra.pdf
  [docbook] [DEBUG] OPTIONS
  [docbook] [DEBUG] no user configuration file is used [default]
  [docbook] [DEBUG] debug mode on
  [docbook] [DEBUG] dump configuration
  [docbook] [DEBUG] quiet mode on
  [docbook] [INFO] Using com.icl.saxon.aelfred.SAXDriver as SAX2 Parser
  [docbook] [INFO] base directory: file:/P:/LRA/build/doc/pdf/
  [docbook] [INFO] FOP 0.20.5
  [docbook] [INFO] Using com.icl.saxon.aelfred.SAXDriver as SAX2 Parser
  [docbook] [INFO] building formatting object tree
  [docbook] [INFO] setting up fonts
  [docbook] [INFO] [1]
  [docbook] [DEBUG] Last page-sequence produced 1 pages.
  [docbook] [INFO] [2]
  [docbook] [INFO] [3]
  [docbook] [DEBUG] Last page-sequence produced 2 pages.
  [docbook] [INFO] [4] (blank)
  [docbook] [INFO] [1]
  [docbook] [INFO] [2]
  [docbook] [INFO] [3]
  [docbook] [DEBUG] Last page-sequence produced 3 pages.
  [docbook] [INFO] [4]
  [docbook] [INFO] [5]
  [docbook] [INFO] [6]
  [docbook] [INFO] [7]
  [docbook] [INFO] [8]
  [docbook] [INFO] [9]
  [docbook] [INFO] [10]
  [docbook] [INFO] [11]
  [docbook] [INFO] [12]
  [docbook] [INFO] [13]
  [docbook] [DEBUG] Last page-sequence produced 10 pages.
  [docbook] [INFO] [14]
  [docbook] [INFO] [15]
  [docbook] [INFO] [16]
  [docbook] [DEBUG] Last page-sequence produced 3 pages.
  [docbook] [INFO] [17]
  [docbook] [INFO] [18]
  [docbook] [INFO] [19]
  [docbook] [WARNING] table-layout=auto is not supported, using fixed!
  [docbook] [INFO] [20]
  [docbook] [INFO] [21]
  [docbook] [DEBUG] Last page-sequence produced 5 pages.
  [docbook] [INFO] [22]
  [docbook] [INFO] [23]
  [docbook] [INFO] Parsing of document complete, stopping renderer
  [docbook] [DEBUG] Initial heap size: 747Kb
  [docbook] [DEBUG] Current heap size: 9181Kb
  [docbook] [DEBUG] Total memory used: 8434Kb
  [docbook] [DEBUG] Memory use is indicative; no GC was performed
  [docbook] [DEBUG] These figures should not be used comparatively
  [docbook] [DEBUG] Total time used: 2422ms
  [docbook] [DEBUG] Pages rendered: 26
  [docbook] [DEBUG] Avg render time: 93ms/page
  [docbook] [ERROR] null
  [docbook] org.apache.fop.apps.FOPException
  [docbook] at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:111)
  [docbook] at org.apache.fop.apps.Fop.main(Fop.java:62)
  [docbook] ---------
  [docbook] java.lang.NullPointerException
  [docbook] at org.apache.fop.layout.LineArea.addText(LineArea.java:855)
  [docbook] at org.apache.fop.fo.FOText.addRealText(FOText.java:278)
  [docbook] at org.apache.fop.fo.FOText.addText(FOText.java:252)
  [docbook] at org.apache.fop.fo.FOText.layout(FOText.java:161)
  [docbook] at org.apache.fop.fo.FObjMixed.layout(FObjMixed.java:139)
  [docbook] at org.apache.fop.fo.flow.ListItemBody.layout(ListItemBody.java:118)
  [docbook] at org.apache.fop.fo.flow.ListItem.layout(ListItem.java:203)
  [docbook] at org.apache.fop.fo.flow.ListBlock.layout(ListBlock.java:201)
  [docbook] at org.apache.fop.fo.flow.Block.layout(Block.java:257)
  [docbook] at org.apache.fop.fo.flow.Block.layout(Block.java:257)
  [docbook] at org.apache.fop.fo.flow.Block.layout(Block.java:257)
  [docbook] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
  [docbook] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
  [docbook] at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
  [docbook] at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
  [docbook] at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
  [docbook] at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
  [docbook] at com.icl.saxon.aelfred.SAXDriver.endElement(SAXDriver.java:792)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseETag(XmlParser.java:1133)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1217)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510)
  [docbook] at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163)
  [docbook] at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
  [docbook] at org.apache.fop.apps.Driver.render(Driver.java:498)
  [docbook] at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
  [docbook] at org.apache.fop.apps.Fop.main(Fop.java:62)
  [docbook] ---------
  [docbook] java.lang.NullPointerException
  [docbook] at org.apache.fop.layout.LineArea.addText(LineArea.java:855)
  [docbook] at org.apache.fop.fo.FOText.addRealText(FOText.java:278)
  [docbook] at org.apache.fop.fo.FOText.addText(FOText.java:252)
  [docbook] at org.apache.fop.fo.FOText.layout(FOText.java:161)
  [docbook] at org.apache.fop.fo.FObjMixed.layout(FObjMixed.java:139)
  [docbook] at org.apache.fop.fo.flow.ListItemBody.layout(ListItemBody.java:118)
  [docbook] at org.apache.fop.fo.flow.ListItem.layout(ListItem.java:203)
  [docbook] at org.apache.fop.fo.flow.ListBlock.layout(ListBlock.java:201)
  [docbook] at org.apache.fop.fo.flow.Block.layout(Block.java:257)
  [docbook] at org.apache.fop.fo.flow.Block.layout(Block.java:257)
  [docbook] at org.apache.fop.fo.flow.Block.layout(Block.java:257)
  [docbook] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:154)
  [docbook] at org.apache.fop.fo.flow.AbstractFlow.layout(AbstractFlow.java:110)
  [docbook] at org.apache.fop.fo.pagination.PageSequence.makePage(PageSequence.java:400)
  [docbook] at org.apache.fop.fo.pagination.PageSequence.format(PageSequence.java:338)
  [docbook] at org.apache.fop.apps.StreamRenderer.render(StreamRenderer.java:262)
  [docbook] at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:223)
  [docbook] at com.icl.saxon.aelfred.SAXDriver.endElement(SAXDriver.java:792)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseETag(XmlParser.java:1133)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1217)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseContent(XmlParser.java:1222)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseElement(XmlParser.java:1037)
  [docbook] at com.icl.saxon.aelfred.XmlParser.parseDocument(XmlParser.java:510)
  [docbook] at com.icl.saxon.aelfred.XmlParser.doParse(XmlParser.java:163)
  [docbook] at com.icl.saxon.aelfred.SAXDriver.parse(SAXDriver.java:320)
  [docbook] at org.apache.fop.apps.Driver.render(Driver.java:498)
  [docbook] at org.apache.fop.apps.CommandLineStarter.run(CommandLineStarter.java:106)
  [docbook] at org.apache.fop.apps.Fop.main(Fop.java:62)
  [docbook] Java Result: 2
  BUILD SUCCESSFUL
  Total time: 9 seconds
  
so, if you look into generated output, it seems I get a NullPointerException during the line
area computation, like I guess it is a problem with the area but not with any particular docbook
syntax.
   
  Please let me know if you have any suggestion, 
   
  Thanks,
   
  David


		
---------------------------------
New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
Mime
View raw message