My Oracle Support Banner

Special Characters In Po Long Text Attachments Causes PDF Po Generation Failure ' XDOException: java.lang.Exception: Error while generating PDF :null' (Doc ID 370162.1)

Last updated on APRIL 07, 2025

Applies to:

Oracle Purchasing - Version 11.5.10 to 11.5.10.4 [Release 11.5]
Information in this document applies to any platform.

Symptoms

PO Output for Communication end in Error when PO has long text  attachment containing & (ampersand) or < (less than)
character.

The log file contains the following errors:

PoPrintingUtil.getBlobPDF(input,input) - After setting the i/o stream and output format
PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDForacle.apps.xdo.XDOException
genDoc() : Exceptionjava.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
java.lang.Exception: Error while generating PDF :null
at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:208 

When the same attachment text is copied to a short text attachment, the PO Output for Communication completes without error
Steps to reproduce


 

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Changes
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.