You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-dev@xmlgraphics.apache.org by bu...@apache.org on 2005/12/01 00:04:59 UTC
DO NOT REPLY [Bug 37725] New: -
NullPointerException in -rtf only (not pdf, txt, png..)
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=37725>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=37725
Summary: NullPointerException in -rtf only (not pdf, txt, png..)
Product: Fop
Version: 0.90
Platform: Other
OS/Version: other
Status: NEW
Severity: normal
Priority: P2
Component: rtf
AssignedTo: fop-dev@xmlgraphics.apache.org
ReportedBy: michael.linux@web.de
The attached fo always gives me an NPE with -rtf only, not with -pdf, -txt and
-png (these are the ones I've tested). Reproducable with trunk + 0.90, the fo
validates with all known resources listed in the FAQ.
Normal (without -d)
================================================================================
C:\fop-0.90alpha1>fop EVMT_Auflistung_Evmt.fo_transform.xml -png test.png
rendering areas to PNG
Warning(12/21): fo:table, The collapsing border model on an fo:table is currentl
y not supported by FOP
Warning(12/21): fo:table, table-layout="auto" is currently not supported by FOP
Warning(27/31): fo:table, The collapsing border model on an fo:table is currentl
y not supported by FOP
Warning(27/31): fo:table, table-layout="auto" is currently not supported by FOP
TODO Add collapsed border painting for spanned cells
Rendering Page 1 (pageWidth 595, pageHeight 792)
C:\fop-0.90alpha1>fop EVMT_Auflistung_Evmt.fo_transform.xml -rtf test.rtf
Warning(12/21): fo:table, The collapsing border model on an fo:table is currentl
y not supported by FOP
Warning(12/21): fo:table, table-layout="auto" is currently not supported by FOP
Warning(27/31): fo:table, The collapsing border model on an fo:table is currentl
y not supported by FOP
Warning(27/31): fo:table, table-layout="auto" is currently not supported by FOP
Exception
java.lang.NullPointerException
================================================================================
with -d:
================================================================================
C:\fop-0.90alpha1>fop -d EVMT_Auflistung_Evmt.fo_transform.xml -rtf test.rtf
Building formatting object tree
Warning(12/21): fo:table, The collapsing border model on an fo:table is currentl
y not supported by FOP
Warning(12/21): fo:table, table-layout="auto" is currently not supported by FOP
Warning(27/31): fo:table, The collapsing border model on an fo:table is currentl
y not supported by FOP
Warning(27/31): fo:table, table-layout="auto" is currently not supported by FOP
starting flow: xsl-region-body
endElement for top-level fo:root
Parsing of document complete
Exception
java.lang.NullPointerException
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:144)
at org.apache.fop.cli.InputHandler.render(InputHandler.java:101)
at org.apache.fop.cli.Main.startFOP(Main.java:167)
at org.apache.fop.cli.Main.main(Main.java:197)
---------
java.lang.NullPointerException
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell.<init>(RtfTableC
ell.java:99)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfExtraRowSet.createExtraCel
l(RtfExtraRowSet.java:158)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableCell.writeRtfContent(
RtfTableCell.java:395)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElemen
t.java:86)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(
RtfContainer.java:135)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow.writeRtfContent(R
tfTableRow.java:283)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElemen
t.java:86)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(
RtfContainer.java:135)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElemen
t.java:86)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(
RtfContainer.java:135)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElemen
t.java:86)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(
RtfContainer.java:135)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElemen
t.java:86)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfContainer.writeRtfContent(
RtfContainer.java:135)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf(RtfElemen
t.java:86)
at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFile.flush(RtfFile.java:21
9)
at org.apache.fop.render.rtf.RTFHandler.endDocument(RTFHandler.java:154)
at org.apache.fop.fo.FOTreeBuilder.endDocument(FOTreeBuilder.java:229)
at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument(Tran
sformerIdentityImpl.java:962)
at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown Sourc
e)
at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown Sourc
e)
at org.apache.xerces.impl.XMLEntityManager.endEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.load(Unknown Source)
at org.apache.xerces.impl.XMLEntityScanner.skipSpaces(Unknown Source)
at org.apache.xerces.impl.XMLDocumentScannerImpl$TrailingMiscDispatcher.
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.xalan.transformer.TransformerIdentityImpl.transform(Transf
ormerIdentityImpl.java:484)
at org.apache.fop.cli.InputHandler.transformTo(InputHandler.java:141)
at org.apache.fop.cli.InputHandler.render(InputHandler.java:101)
at org.apache.fop.cli.Main.startFOP(Main.java:167)
at org.apache.fop.cli.Main.main(Main.java:197)
================================================================================
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.