Po Output For Communication Fails To Generate PDF Output (POXPOPDF) - getNumberFormatCharacters 001 Final numberFormat ::null Error Adding The Blob To Vector java.lang.NullPointerException (Doc ID 1222073.1)

Last updated on MAY 18, 2017

Applies to:

Oracle Purchasing - Version 11.5.10.2 and later
Information in this document applies to any platform.

Symptoms

The 'PO Output for Communication' POXPOPDF fails for the various methods used to generate the report.
Ex. Output created during approval, executing as a concurrent request, etc..

Error:
Passing Params to getBlobPDF :Tue Sep 21 13:41:07 CDT 2010
m_AppNames :PO
m_TemplateCodes :SMEPA_PO_STANDARD_XSLFO
m_Languages :en
m_Territories :US
getNumberFormatCharacters 001 Final numberFormat ::null
PoPrintingUtil.getBlobPDF(input,input) - Error while generating the PDFjava.lang.NullPointerException
PoPrintingUtil.getBlobPDF(input,input) - Full Error Stack Trace - java.lang.NullPointerException
at java.util.Hashtable.put(Hashtable.java:393)
at oracle.apps.po.util.PoPrintingUtil.getBlobPDF(PoPrintingUtil.java:400)
at oracle.apps.po.communicate.PoGenerateDocument.genDoc(PoGenerateDocument.java:2100)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:707)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)

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:2354)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:707)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
rolling back the complete program

FND Logging capturing:
<DisplayOrder>00001.00027</DisplayOrder>
</SectionsArticlesToPrintVORow>
</SectionsArticlesToPrintVO>
</ContractTermsAM>
</PoxSysVariableAM>
Preparing to archive the PDF..
getArchiveOn(): APPROVE
getArchiveOn()=APPROVE m_viewOrCommunicate=Communicate
getArchiveOn(): APPROVE
After calling genDocMon Sep 27 07:49:58 CDT 2010
Adding the blob to vector
java.lang.NullPointerException
java.lang.NullPointerException
at java.io.ByteArrayInputStream.<init>(ByteArrayInputStream.java:89)
at oracle.apps.po.communicate.PoGenerateDocumentCP.runProgram(PoGenerateDocumentCP.java:498)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
rolling back the complete program

Replication Steps:
Method 1
Manually submitting the 'PO Output for Communication' from the Request > Submit screen

Method 2
Purchase Order Summary -> Tools -> Communicate

Method 3
PO Buyer Responsibility -> Autocreate -> Select requisition -> Create PO -> Approve PO


Changes

May have implemented Purchasing Rollup 11 patchset (Patch 8555411) or later

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