My Oracle Support Banner

R12: AP: Format Payment Instructions Error Out With Error Message java.lang.ArrayIndexOutOfBoundsException: 0 (Doc ID 2963481.1)

Last updated on SEPTEMBER 26, 2023

Applies to:

Oracle Payments - Version 12.2.12 and later
Information in this document applies to any platform.

Symptoms

Format Payment Instructions program error out with below error message:

Before TemplateHelper.processTemplate Call: Sat Jul 22 12:48:59 EDT 2023
java.lang.ArrayIndexOutOfBoundsException: 0
at oracle.apps.xdo.common.image.ImageReader.checkFormat(Unknown Source)
at oracle.apps.xdo.common.image.ImageReader.analyze(Unknown Source)
at oracle.apps.xdo.common.image.ImageReader.load(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.createPDFImageReference(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.createPDFImageReference(Unknown Source)
at oracle.apps.xdo.generator.pdf.PDFGenerator.getImage(Unknown Source)
at oracle.apps.xdo.generator.ProxyStreamGenerator.getImage(Unknown Source)
at oracle.apps.xdo.template.fo.area.AreaTree.getImage(Unknown Source)
at oracle.apps.xdo.template.fo.area.GraphicArea.init(Unknown Source)
at oracle.apps.xdo.template.fo.area.GraphicArea.<init>(Unknown Source)
at oracle.apps.xdo.template.fo.elements.FOExternalGraphic.doLayout(Unknown Source)

Error: an error occurred during formatting. Please verify the template is valid.
oracle.apps.iby.exception.PSException: Internal Error to Payment Server: 0
  at oracle.apps.iby.engine.ExtractFormatter.applyFormat(ExtractFormatter.java:163)
  at oracle.apps.iby.engine.ExtractFormatter.applyFormat(ExtractFormatter.java:281)
  at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCore(FDFormatProgramUtils.java:358)
  at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCommon(FDFormatProgramUtils.java:234)
  at oracle.apps.iby.scheduler.FDFormatProgramUtils.doPmtInstrExtractAndFormat(FDFormatProgramUtils.java:90)
  at oracle.apps.iby.scheduler.FDExtractAndFormatting.doExtractAndFormat(FDExtractAndFormatting.java:457)
  at oracle.apps.iby.scheduler.FDExtractAndFormatting.runMainLogic(FDExtractAndFormatting.java:278)
  at oracle.apps.iby.scheduler.FDExtractAndFormatting.runProgram(FDExtractAndFormatting.java:159)
  at oracle.apps.fnd.cp.request.Run.main(Run.java:159)

Due to this issue, Format Payment Instructions program errors and check printing is stopped



Steps to reproduce:

  1. Log into Oracle Applications using a Payables responsibility.
  2. Submit a Payment Process Request
  3. Error occurs at Format Payment Instructions

 

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.