DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-04-01 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

Glenn Adams gl...@skynav.com changed:

   What|Removed |Added

 Status|RESOLVED|CLOSED

--- Comment #12 from Glenn Adams gl...@skynav.com 2012-04-01 13:42:52 UTC ---
batch transition to closed for remaining resolved bugs

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #10 from Pascal Sancho pascal.san...@takoma.fr 2012-01-03 
08:18:02 UTC ---
(In reply to comment #9)
 Created attachment 28113 [details]
 Adding tiny test case
 
 Here is a very tiny test case

Note that this test pass FOP TRUNK (rev 1183620) successfully.
I don't remember if there is a similar testcase in FOP test suite.
Leaving this bug open as a reminder to check testsuite (and add this test if
needed).

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-03 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

Mathieu Malaterre mathieu.malate...@gmail.com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution||DUPLICATE

--- Comment #11 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-03 
09:49:44 UTC ---


*** This bug has been marked as a duplicate of bug 50276 ***

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #1 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
10:35:43 UTC ---
Created attachment 28108
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28108
output log

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #2 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
10:36:46 UTC ---
Created attachment 28109
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28109
input publican.fo

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #3 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
10:42:12 UTC ---
See also discussion from fop-users mailing list:

http://www.mail-archive.com/fop-users@xmlgraphics.apache.org/msg17887.html

...

The main thing here is to isolate a short testcase that still
demonstrates the issue in both 0.95 and 1.0 versions.
Even if FOP trunk passes the test, the snippet could be used for unit-test

probably related to #48806 [1], #46386 [2].

[1] https://issues.apache.org/bugzilla/show_bug.cgi?id=48806
[2] https://issues.apache.org/bugzilla/show_bug.cgi?id=46386
...

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #4 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
14:41:23 UTC ---
Created attachment 28110
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28110
reduced test case

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #5 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
14:42:09 UTC ---
Created attachment 28111
  -- https://issues.apache.org/bugzilla/attachment.cgi?id=28111
xslt for reducing size

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #6 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
14:43:19 UTC ---
I have used the attached process.xsl script file to reduce the original .fo
file to 328 kb

After trial/error it looks like the bug appear in a fo:inline within the
sect-Users_Guide-Packaging_a_book fo:block

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.


DO NOT REPLY [Bug 52411] Fails to build publican's user guide with org.apache.fop.apps.FOPException java.lang.NullPointerException

2012-01-02 Thread bugzilla
https://issues.apache.org/bugzilla/show_bug.cgi?id=52411

--- Comment #8 from Mathieu Malaterre mathieu.malate...@gmail.com 2012-01-02 
15:05:39 UTC ---
I can reproduce the segfault using small.fo:

$ fop -d small.fo small.pdf
...

-

java.lang.NullPointerException
at
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:277)
at
org.apache.fop.layoutmgr.inline.InlineStackingLayoutManager.applyChanges(InlineStackingLayoutManager.java:300)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.processUpdates(LineLayoutManager.java:1345)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoints(LineLayoutManager.java:1318)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreakingPoints(LineLayoutManager.java:797)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(LineLayoutManager.java:763)
at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElements(LineLayoutManager.java:592)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextChildElements(BlockStackingLayoutManager.java:571)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextChildElements(BlockStackingLayoutManager.java:552)
at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthElements(BlockStackingLayoutManager.java:280)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:123)
at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(BlockLayoutManager.java:115)
at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextChildElements(FlowLayoutManager.java:199)
at
org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:140)
at
org.apache.fop.layoutmgr.FlowLayoutManager.addChildElements(FlowLayoutManager.java:129)
at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowLayoutManager.java:70)
at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker.java:216)
at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBreaker.java:692)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:149)
at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.java:132)
at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.java:337)
at org.apache.fop.layoutmgr.PageBreaker.doLayout(PageBreaker.java:85)
at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(PageSequenceLayoutManager.java:107)
at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.java:238)
at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java:120)
at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilder.java:349)
at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:177)
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:299)
at org.apache.fop.cli.InputHandler.renderTo(InputHandler.java:130)
at org.apache.fop.cli.Main.startFOP(Main.java:174)
at org.apache.fop.cli.Main.main(Main.java:205)

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
--- You are receiving this mail because: ---
You are the assignee for the bug.