Bug#570095: java.lang.NullPointerException: at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)

Mathieu Malaterre mathieu.malaterre at gmail.com
Tue Feb 16 13:28:12 UTC 2010


I can reproduce it also in my sid chroot system:


# xmlto pdf test.xml
Making portrait pages on a4 paper (210mmx297mm)
PassiveTeX is needed for this format, but it is not installed. Please install
the passivetex package.
gotlib# xmlto --with-fop pdf test.xml
Making portrait pages on a4 paper (210mmx297mm)
[warning] /usr/bin/fop: Unable to locate servlet-api in /usr/share/java
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:01 PM
org.apache.fop.fo.properties.CommonBorderPaddingBackground <init>
SEVERE: Background image not available: images/draft.png
Feb 16, 2010 1:26:02 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,400'.
Feb 16, 2010 1:26:02 PM org.apache.fop.fonts.FontInfo notifyFontReplacement
WARNING: Font 'ZapfDingbats,normal,700' not found. Substituting with
'ZapfDingbats,normal,400'.
Feb 16, 2010 1:26:02 PM org.apache.fop.hyphenation.Hyphenator getHyphenationTree
SEVERE: Couldn't find hyphenation pattern en
Feb 16, 2010 1:26:02 PM org.apache.fop.cli.Main startFOP
SEVERE: Exception
java.lang.NullPointerException
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:217)
	at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
	at org.apache.fop.cli.Main.startFOP(Main.java:166)
	at org.apache.fop.cli.Main.main(Main.java:197)

---------

java.lang.NullPointerException
	at org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:350)
	at org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1480)
	at org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreakingPoints(LineLayoutManager.java:950)
	at org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(LineLayoutManager.java:917)
	at org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:607)
	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294)
	at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116)
	at org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:294)
	at org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:116)
	at org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:107)
	at org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:145)
	at org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:552)
	at org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:137)
	at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:302)
	at org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:264)
	at org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:106)
	at org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:234)
	at org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:123)
	at org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:340)
	at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169)
	at org.apache.xalan.transformer.TransformerIdentityImpl.endElement(TransformerIdentityImpl.java:1102)
	at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source)
	at org.apache.xerces.xinclude.XIncludeHandler.endElement(Unknown Source)
	at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown
Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown
Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(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 org.apache.xalan.transformer.TransformerIdentityImpl.transform(TransformerIdentityImpl.java:485)
	at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:214)
	at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:125)
	at org.apache.fop.cli.Main.startFOP(Main.java:166)
	at org.apache.fop.cli.Main.main(Main.java:197)





More information about the pkg-java-maintainers mailing list