OPP Fails With java.lang.NullPointerException Error (Doc ID 779670.1)

Last updated on OCTOBER 04, 2016

Applies to:

BI Publisher (formerly XML Publisher) - Version 12.0 to 12.1 [Release 12.0 to 12.1]
Information in this document applies to any platform.
Checked for relevance on 10-MAR-2013

Symptoms

In Oracle Applications R12:
when attempting to generate large PDF reports (contains large number of pages) for some concurrent programs OPP services stopped working and found the following java exception in the OPP log file:

......
[1/29/09 10:28:29 AM] [UNEXPECTED] [61278:RT1815897] java.lang.NullPointerException
at java.lang.Throwable.<init>(Throwable.java:57)
at java.util.Hashtable.put(Hashtable.java:630)
at oracle.apps.xdo.template.fo.elements.FOLayoutMasterSet.addChild(FOLayoutMasterSet.java:61)
at oracle.apps.xdo.template.fo.elements.FOObject.init(FOObject.java:102)
at oracle.apps.xdo.template.fo.elements.FOSimplePageMaster.init(FOSimplePageMaster.java:85)
at oracle.apps.xdo.template.fo.FOHandler.startElement(FOHandler.java:334)
at oracle.apps.xdo.template.fo.FOHandler.startElement(FOHandler.java:188)
at oracle.apps.xdo.common.xml.XSLTMerger.startElement(XSLTMerger.java:55)
at oracle.xml.parser.v2.XMLContentHandler.startElement(XMLContentHandler.java:181)
at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1280)
at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:328)
at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:295)
at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:201)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:307)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1045)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5916)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3452)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3541)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:244)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:172)
......

 Workaround:
Bounce the OPP Services.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms