What follows is an Apache FOP bug (triggered by something in some of
your DocBook documents).
This FOP bug is not caused by our product, XMLmind XML Editor.
Therefore, we don't see how we could help.
---
PS: Googling
nullpointerexception
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java
pointed me to:
https://issues.apache.org/bugzilla/show_bug.cgi?id=48765
In a nutshell, it seems that passing XSLT stylesheet parameter
hyphenate=0
to the DocBook stylesheets is a workaround for this FOP bug.
If my memory serves me well, I've already seen this FOP bug before and I
thought that it was fixed in FOP 1.1 (the version included in XMLmind
XML Editor). It seems that this is not really the case.
On 04/17/2014 06:58 PM, Brian C. Huffman wrote:
So I got past the last issue. You were correct - I was trying to
convert a DocBook 5 document but using the incorrect module.
But now I'm getting a different message on *some* documents but not others:
[proj]$ ../xxe-pro-5_9_0/bin/xxetool convert db5.toPSFile
doc/ProgrammerGuide.xml -s pdf -s "|pdf" -u doc/out.pg
Making portrait pages on A4 paper (210mmx297mm)
xxetool: *** error: Command execution has failed:
FOP XSL-FO processor error:
java.lang.NullPointerException
If I do this in the GUI, I get some more information:
FOP XSL-FO processor error:
javax.xml.transform.TransformerException: java.lang.NullPointerException
+---------------------------------------
| com.icl.saxon.IdentityTransformer.transform(IdentityTransformer.java:61)
| com.xmlmind.xmleditext.fop1_foprocessor.FOP.doProcessFO(FOP.java:125)
| com.xmlmind.xmleditext.fop1_foprocessor.FOP.processFO(FOP.java:82)
|
com.xmlmind.xmleditapp.cmd.process.ProcessFOItem.execute(ProcessFOItem.java:114)
|
com.xmlmind.xmleditapp.cmd.process.ProcessFOItem.execute(ProcessFOItem.java:72)
|
com.xmlmind.xmleditapp.cmd.process.SubProcessItem.execute(SubProcessItem.java:89)
|
com.xmlmind.xmleditapp.cmd.process.ProcessCommand$1.run(ProcessCommand.java:198)
+---------------------------------------
CAUSE:
java.lang.NullPointerException
+---------------------------------------
|
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:359)
|
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getChangedKnuthElements(InlineLayoutManager.java:571)
|
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:369)
|
org.apache.fop.layoutmgr.inline.InlineLayoutManager.getChangedKnuthElements(InlineLayoutManager.java:571)
|
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.getChangedKnuthElements(InlineStackingLayoutManager.java:321)
|
org.apache.fop.layoutmgr.inline.LineLayoutManager.processUpdates(LineLayoutManager.java:1350)
|
org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1319)
|
org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreakingPoints(LineLayoutManager.java:856)
|
org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(LineLayoutManager.java:815)
|
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:635)
|
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
|
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
|
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
|
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
|
org.apache.fop.layoutmgr.BlockLayoutManager.getNextChildElements(BlockLayoutManager.java:141)
|
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:288)
|
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:113)
|
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:105)
|
org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowLayoutManager.java:221)
|
org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:145)
+---------------------------------------
Can you assist?
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support