Bug 43570 - field ATTRIB_ROW_PADDING not found
Summary: field ATTRIB_ROW_PADDING not found
Status: CLOSED WONTFIX
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: rtf (show other bugs)
Version: 0.94
Hardware: All Windows XP
: P2 critical
Target Milestone: ---
Assignee: fop-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-08 03:46 UTC by Anjuli Damele
Modified: 2012-04-30 00:17 UTC (History)
0 users



Attachments
XSL:FO Template (7.68 KB, text/plain)
2007-10-08 03:48 UTC, Anjuli Damele
Details
Input for generating RTF (7.40 KB, text/plain)
2007-10-08 03:49 UTC, Anjuli Damele
Details
XSL:FO - giving error (11.73 KB, text/plain)
2007-10-08 03:50 UTC, Anjuli Damele
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Anjuli Damele 2007-10-08 03:46:12 UTC
Hi,

 

I am trying to generate RTF from XSL: FO using FOP 0.94. but while 
transforming I am getting the following error. Can anyone help me in this 
regard to solve the issue?

 

java.lang.NoSuchFieldError: 
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow: field ATTRIB_ROW_PADDING 
not found

            at 
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow.writePaddingAttributes
(RtfTableRow.java:352)

            at 
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow.writeRowAndCellsDefintions
(RtfTableRow.java:166)

            at 
org.apache.fop.render.rtf.rtflib.rtfdoc.RtfTableRow.writeRtfContent
(RtfTableRow.java:143)

            at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfElement.writeRtf
(RtfElement.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
(RtfElement.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
(RtfElement.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
(RtfElement.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
(RtfElement.java:86)

            at org.apache.fop.render.rtf.rtflib.rtfdoc.RtfFile.flush
(RtfFile.java:219)

            at org.apache.fop.render.rtf.RTFHandler.endDocument
(RTFHandler.java:181)

            at org.apache.fop.fo.FOTreeBuilder.endDocument
(FOTreeBuilder.java:171)

            at org.apache.xalan.transformer.TransformerIdentityImpl.endDocument
(TransformerIdentityImpl.java:962)

            at org.apache.xerces.parsers.AbstractSAXParser.endDocument(Unknown 
Source)

            at org.apache.xerces.impl.XMLDocumentScannerImpl.endEntity(Unknown 
Source)

            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(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.xalan.transformer.TransformerIdentityImpl.transform
(TransformerIdentityImpl.java:484)

            at ExampleFO2RTF.convertFO2RTF2(ExampleFO2RTF.java:146)

            at ExampleFO2RTF.main(ExampleFO2RTF.java:170)

Exception in thread "main"

Thanks & Regards

Anjuli
Comment 1 Anjuli Damele 2007-10-08 03:48:26 UTC
Created attachment 20942 [details]
XSL:FO Template
Comment 2 Anjuli Damele 2007-10-08 03:49:28 UTC
Created attachment 20943 [details]
Input for generating RTF
Comment 3 Anjuli Damele 2007-10-08 03:50:54 UTC
Created attachment 20944 [details]
XSL:FO - giving error
Comment 4 Jeremias Maerki 2007-10-08 13:34:25 UTC
NoSuchFieldErrors often indicate a version conflict at runtime. Please check
that you don't have any old versions of FOP in the classpath.
Comment 5 Glenn Adams 2012-04-04 23:21:43 UTC
RTF features currently lack a maintainer; if a patch is submitted, it will be considered for a possible fix; in the mean time i'm closing this due to lack of action
Comment 6 Glenn Adams 2012-04-30 00:14:53 UTC
batch transition resolved+wontfix to closed+wontfix
Comment 7 Glenn Adams 2012-04-30 00:17:18 UTC
batch transition resolved+wontfix to closed+wontfix; if you believe this remains a bug and can demonstrate it with appropriate input FO file and output PDF file (as applicable), then you may reopen