DO NOT REPLY [Bug 47781] New: GRAVE: Exception: java.lang.NullPointerException when unsing fop

View: New views
3 Messages — Rating Filter:   Alert me  

DO NOT REPLY [Bug 47781] New: GRAVE: Exception: java.lang.NullPointerException when unsing fop

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47781

           Summary: GRAVE: Exception: java.lang.NullPointerException when
                    unsing fop
           Product: Fop
           Version: 0.95
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: pdf
        AssignedTo: fop-dev@...
        ReportedBy: fofallouh@...


--- Comment #0 from fofallouh@... 2009-09-03 06:29:36 PDT ---
Created an attachment (id=24203)
fo file and images folder

I use fop tool version 0.95 to convert fo file into pdf file, but I got many
warning and an error : Exception: java.lang.NullPointerException when unsing
fop

The example.fo file is attached to this bug report
command-line is:
fop "example.fo" "example.pdf"

error and warning are:

3 sept. 2009 15:10:15 org.apache.fop.fonts.FontInfo notifyFontReplacement
ATTENTION: Font 'Symbol,normal,700' not found. Substituting with
'Symbol,normal,
400'.
3 sept. 2009 15:10:15 org.apache.fop.fonts.FontInfo notifyFontReplacement
ATTENTION: Font 'ZapfDingbats,normal,700' not found. Substituting with
'ZapfDing
bats,normal,400'.
3 sept. 2009 15:10:15
org.apache.fop.layoutmgr.inline.LineLayoutManager$LineBrea
kingAlgorithm updateData2
ATTENTION: Line 1 of a paragraph overflows the available area by more than 50
po
ints. (fo:block, location: 508/25)
3 sept. 2009 15:10:15 org.apache.fop.fonts.FontInfo notifyFontReplacement
ATTENTION: Font 'Arial,normal,700' not found. Substituting with
'any,normal,700'
.
3 sept. 2009 15:10:15 org.apache.fop.cli.Main startFOP
GRAVE: 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.applyChan
ges(InlineStackingLayoutManager.java:350)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findHyphenationPoin
ts(LineLayoutManager.java:1480)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.findOptimalBreaking
Points(LineLayoutManager.java:950)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.createLineBreaks(Li
neLayoutManager.java:917)
        at
org.apache.fop.layoutmgr.inline.LineLayoutManager.getNextKnuthElement
s(LineLayoutManager.java:607)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.BlockStackingLayoutManager.getNextKnuthEleme
nts(BlockStackingLayoutManager.java:294)
        at
org.apache.fop.layoutmgr.BlockLayoutManager.getNextKnuthElements(Bloc
kLayoutManager.java:116)
        at
org.apache.fop.layoutmgr.FlowLayoutManager.getNextKnuthElements(FlowL
ayoutManager.java:107)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextKnuthElements(PageBreaker
.java:145)
        at
org.apache.fop.layoutmgr.AbstractBreaker.getNextBlockList(AbstractBre
aker.java:552)
        at
org.apache.fop.layoutmgr.PageBreaker.getNextBlockList(PageBreaker.jav
a:137)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:302)
        at
org.apache.fop.layoutmgr.AbstractBreaker.doLayout(AbstractBreaker.jav
a:264)
        at
org.apache.fop.layoutmgr.PageSequenceLayoutManager.activateLayout(Pag
eSequenceLayoutManager.java:106)
        at
org.apache.fop.area.AreaTreeHandler.endPageSequence(AreaTreeHandler.j
ava:234)
        at
org.apache.fop.fo.pagination.PageSequence.endOfNode(PageSequence.java
:123)
        at
org.apache.fop.fo.FOTreeBuilder$MainFOHandler.endElement(FOTreeBuilde
r.java:340)
        at org.apache.fop.fo.FOTreeBuilder.endElement(FOTreeBuilder.java:169)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.endElement(Trans
formerIdentityImpl.java:1101)
        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(Unknow
n Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContent
Dispatcher.dispatch(Unknown Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Un
known 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
Sour
ce)
        at
org.apache.xalan.transformer.TransformerIdentityImpl.transform(Transf
ormerIdentityImpl.java:484)
        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)

--
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 47781] GRAVE: Exception: java.lang.NullPointerException when unsing fop

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47781

--- Comment #1 from Jonathan Levinson <levinson@...> 2009-10-08 08:04:36 PDT ---
I tested in trunk and this NullPoiterException is fixed in the trunk.

--
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 47781] GRAVE: Exception: java.lang.NullPointerException when unsing fop

by Bugzilla from bugzilla@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

https://issues.apache.org/bugzilla/show_bug.cgi?id=47781

Vincent Hennebert <vhennebert@...> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Vincent Hennebert <vhennebert@...> 2009-10-16 03:22:46 UTC ---
Closing this bug as the issue does no longer appear in Trunk. Feel free to
re-open it if you can reproduce it with the Trunk. (To download and build a
version of the Trunk, see here:
http://xmlgraphics.apache.org/fop/download.html#source
http://xmlgraphics.apache.org/fop/trunk/compiling.html
)

Vincent

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