My Oracle Support Banner

Generate Stylesheet For BPA Templates Fails With Unexpected Error (Doc ID 1504027.1)

Last updated on FEBRUARY 15, 2018

Applies to:

Oracle Receivables - Version 11.5.10.2 and later
Oracle Bill Presentment Architecture - Version 11.5.10.2 and later
Information in this document applies to any platform.

Symptoms

Attempting to run Generate Stylesheet for BPA Templates program and receive the following error:

ERROR
---------
java.lang.ArrayIndexOutOfBoundsException:4
java.lang.ArrayIndexOutOfBoundsException: 4
at oracle.apps.ar.bpa.templatemgmt.templates.server.TemplateStylesheetBuilder.generateNodes(TemplateStylesheetBuilder.java:994)
at oracle.apps.ar.bpa.templatemgmt.templates.server.TemplateStylesheetBuilder.generateNodes(TemplateStylesheetBuilder.java:933)
at oracle.apps.ar.bpa.templatemgmt.templates.server.TemplateStylesheetBuilder.generateNodes(TemplateStylesheetBuilder.java:972)
at oracle.apps.ar.bpa.templatemgmt.templates.server.TemplateStylesheetBuilder.generateNodes(TemplateStylesheetBuilder.java:900)
at oracle.apps.ar.bpa.templatemgmt.templates.server.TemplateStylesheetBuilder.generatePageSequenceMaster(TemplateStylesheetBuilder.java:662)
at oracle.apps.ar.bpa.templatemgmt.templates.server.TemplateStylesheetBuilder.getXSL(TemplateStylesheetBuilder.java:216)
at oracle.apps.ar.bpa.presentment.cp.GenerateXslCp.generateStylesheet(GenerateXslCp.java:149)
at oracle.apps.ar.bpa.presentment.cp.GenerateXslCp.runProgram(GenerateXslCp.java:74)
at oracle.apps.fnd.cp.request.Run.main(Run.java:161)
 Unexpected Error

Steps to Reproduce:
Responsibility:   Receivables Manager
Navigation:  Requests > Run
Submit Generate Stylesheet for BPA Templates Program for Default Invoice template

In addition, the following error may occur in Transactions form when you click BPA icon and try to view an invoice:

Error page
You have encountered an unexpected error. Please contact the System Administrator for assistance.

NOTE:  Generate Stylesheet for BPA Templates Program fails with above errors only for Default Invoice template.  It does not fail for other templates (ie: for Default Credit Memo Template)

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!


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