My Oracle Support Banner

Trying to Print From Oracle Forms Fails With java.lang.ArrayIndexOutOfBoundsException: 7 (Doc ID 1558720.1)

Last updated on SEPTEMBER 20, 2022

Applies to:

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


Trying to print from forms fails with the following message in java console

java.lang.ArrayIndexOutOfBoundsException: 7
  at sun.print.Win32PrintService.getMediaTrays(Unknown Source)
  at sun.print.Win32PrintService.getSupportedAttributeValues(Unknown Source)
  at sun.print.RasterPrinterJob.updatePageAttibutes(Unknown Source)
  at sun.print.RasterPrinterJob.setPrintable(Unknown Source)
  at oracle.forms.handler.FormPrintableImpl.doPrint(Unknown Source)



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.