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.


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 Source)
at Source)
at<init>(Unknown Source)
at 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(
  at oracle.apps.iby.engine.ExtractFormatter.applyFormat(
  at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCore(
  at oracle.apps.iby.scheduler.FDFormatProgramUtils.doExtractAndFormatCommon(
  at oracle.apps.iby.scheduler.FDFormatProgramUtils.doPmtInstrExtractAndFormat(
  at oracle.apps.iby.scheduler.FDExtractAndFormatting.doExtractAndFormat(
  at oracle.apps.iby.scheduler.FDExtractAndFormatting.runMainLogic(
  at oracle.apps.iby.scheduler.FDExtractAndFormatting.runProgram(
  at oracle.apps.fnd.cp.request.Run.main(

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






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

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