Supplier Chooses PDF Document.html Link in Purchase Order Notification Receives 'System Failed to Generate PDF' (Doc ID 372757.1)

Last updated on JULY 14, 2016

Applies to:

Oracle Purchasing - Version 11.5.10 to 11.5.10 [Release 11.5]
Information in this document applies to any platform.
Checked for relevance on 20-feb-2012


Symptoms

Sending Purchase Orders in PDF format to suppliers via e-mail are failing sporadically. The emails are received successfully by the Supplier but if the "PDF Document.html" link is chosen to view the details of the Purchase Order a ‘System failed to generate the PDF document. Please contact your system administrator.’ error is displayed.

Another symptom of this bug was as follows:

Periodically the PO Ouput for Communication request completes in an Error
status. This is a process that occurs as a result of a PO being approved and being sent
to supplier.

ERROR

Document XML Contents Mon Apr 03 05:04:00 EDT 2006
Calling the print util method:Mon Apr 03 05:04:00 EDT 2006
PoPrintingUtil.getBlobPDF(input,input) - After initializing the FOProcessor
PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
java.lang.NoClassDefFoundError: oracle/apps/xdo/common/util/ContextProvider
at oracle.apps.xdo.common.util.ContextCache.removeAllContexts(ContextCache.java:65)
at oracle.apps.xdo.common.util.ContextCache.removeContext(ContextCache.java:82)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:390)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:257)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:195)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:931)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:178)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1507)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:913)
at oracle.apps.po.util.PoPrintingUtil.getBlobPDF(PoPrintingUtil.java:74)
at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:1926)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:426)
at oracle.apps.fnd.cp.request.Run.main(Run.java:148)
.

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