FULL PRODUCT VERSION : 1.5.0_11-b03 ADDITIONAL OS VERSION INFORMATION : Windows A DESCRIPTION OF THE PROBLEM : it seems an improper implementation with sun.print.Win32PrintService.getSupportedAttributeValues(line 1203): if ((isCollateSup && flavor == null) || (flavor.equals(DocFlavor.SERVICE_FORMATTED.PAGEABLE) || flavor.equals(DocFlavor.SERVICE_FORMATTED.PRINTABLE))) { The argument "flavor" can be null according the API document, but if "isCollateSup" is false(it is case for the virtual printer "Microsoft Office Document Image Writer"), a NullPointerException will be thrown out for a null DocFlavor. REPRODUCIBILITY : This bug can be reproduced always.
|