Thursday 7 April 2011

Error in BI Publisher : NoAvailableAreaException

I was trying to fix some issue in XML Publisher report and was doing some changes in Account statement RTF. Once after the changes,I  tried to upload the XML and preview the data in PDF in BI Publisher(MS-Word).

But, to my surprise I got following error :


oracle.apps.xdo.template.fo.area.NoAvailableAreaException: object =
'oracle.apps.xdo.template.fo.area.InstreamForeignObjectArea@d85cc', aInfo: (x, y, w, h) = (0, 0, -1800, 720000)
    at oracle.apps.xdo.template.fo.elements.FOObject.updatePredefinedLength(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOInstreamForeignObject.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOBlock.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOBlock.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOBlock.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.table.FOTableCell.cellDoLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.table.FOTableCell.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.table.FOTableRow.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.table.FOTableBody.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.table.FOTableBody.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.table.FOTable.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOBlock.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOBlock.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FOStaticContent.doLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.startLayout(Unknown Source)
    at oracle.apps.xdo.template.fo.elements.FormattingEngine.run(Unknown Source)
    at oracle.apps.xdo.template.fo.FOHandler.endElement(Unknown Source)
    at oracle.apps.xdo.common.xml.XSLTMerger.endElement(Unknown Source)
    at oracle.xml.parser.v2.XMLContentHandler.endElement(XMLContentHandler.java:196)
    at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1212)
    at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:301)
    at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:268)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:149)
    at oracle.apps.xdo.template.fo.FOProcessingEngine.process(Unknown Source)
    at oracle.apps.xdo.template.FOProcessor.generate(Unknown Source)
    at RTF2PDF.runRTFto(RTF2PDF.java:632)
    at RTF2PDF.runXDO(RTF2PDF.java:466)
    at RTF2PDF.main(RTF2PDF.java:254)

Was trying to analyse this issue,but couldnt get any information. On googling this, I did found one article

XML Error which helped me in solving my issue. 

I did somehow applied the same technique to my template, but my issue was in Header Part of the template. I did try to align the header according to the Margin settings.



Luckily this helped me out, and the error was resolved.

No comments:

Post a Comment