Trying to Print From Oracle Forms Fails With java.lang.ArrayIndexOutOfBoundsException: 7
(Doc ID 1558720.1)
Last updated on MAY 31, 2023
Applies to:
Oracle Forms - Version 11.1.1.2.0 and laterInformation 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)
....
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
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 |
Cause |
Solution |