-
Bug
-
Resolution: Duplicate
-
P1
-
None
-
1.4.0
-
sparc
-
solaris_8
With this code:
PrinterJob pj = PrinterJob.getPrinterJob();
PrintService[] psl = pj.lookupPrintServices();
for (int i = 0; i < psl.length; i++) {
PrintServiceAttributeSet psas = psl[i].getAttributes();
}
I get the following:
sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: Provider uFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDu...
at sun.misc.Service.fail(Service.java:123)
at sun.misc.Service.access$000(Service.java:114)
at sun.misc.Service$LazyIterator.next(Service.java:266)
at javax.print.PrintServiceLookup.getAllLookupServices(PrintServiceLookup.java:272)
at javax.print.PrintServiceLookup.getServices(PrintServiceLookup.java:287)
at javax.print.PrintServiceLookup.lookupPrintServices(PrintServiceLookup.java:61)
at java.awt.print.PrinterJob.lookupPrintServices(PrinterJob.java:77)
at java_awt_print_PrinterJob.do_lookupPrintServices_1(java_awt_print_PrinterJob.java:132)
at java_awt_print_PrinterJob.run(java_awt_print_PrinterJob.java:626)
at java.lang.Thread.run(Thread.java:579)
The application crashes at this point.
The string uFFFD... is actually non-ASCII characters and goes on for quite a ways.
Solaris 8 (sparc), JDK 1.4 build 46.
PrinterJob pj = PrinterJob.getPrinterJob();
PrintService[] psl = pj.lookupPrintServices();
for (int i = 0; i < psl.length; i++) {
PrintServiceAttributeSet psas = psl[i].getAttributes();
}
I get the following:
sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: Provider uFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDu...
at sun.misc.Service.fail(Service.java:123)
at sun.misc.Service.access$000(Service.java:114)
at sun.misc.Service$LazyIterator.next(Service.java:266)
at javax.print.PrintServiceLookup.getAllLookupServices(PrintServiceLookup.java:272)
at javax.print.PrintServiceLookup.getServices(PrintServiceLookup.java:287)
at javax.print.PrintServiceLookup.lookupPrintServices(PrintServiceLookup.java:61)
at java.awt.print.PrinterJob.lookupPrintServices(PrinterJob.java:77)
at java_awt_print_PrinterJob.do_lookupPrintServices_1(java_awt_print_PrinterJob.java:132)
at java_awt_print_PrinterJob.run(java_awt_print_PrinterJob.java:626)
at java.lang.Thread.run(Thread.java:579)
The application crashes at this point.
The string uFFFD... is actually non-ASCII characters and goes on for quite a ways.
Solaris 8 (sparc), JDK 1.4 build 46.
- relates to
-
JDK-4400882 Merlin b46: throw "sun.misc.ServiceConfigurationError"
-
- Closed
-