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

Last updated on JUNE 04, 2013

Applies to:

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

Symptoms

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)
....

 

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