-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
generic
-
generic
Tested with Merlin b46 on Solraris 8 (sparc/x86), japanese Windows98, Redhat linux 6.2J.
When using appleviewer to startup a application,
then select print from Applet menu, there will be some error messages like below.
--------------------------------------------------------------------------
sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: Provider uFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFD not found
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.lookupDefaultPrintService(PrintServiceLookup.java:116)
at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:335)
at sun.print.PrintJob2D.findNamedPrintService(PrintJob2D.java:168)
at sun.print.PrintJob2D.copyAttributes(PrintJob2D.java:204)
at sun.print.PrintJob2D.printDialog(PrintJob2D.java:157)
at sun.awt.motif.MToolkit.getPrintJob(MToolkit.java:396)
at sun.applet.AppletViewer.appletPrint(AppletViewer.java:691)
at sun.applet.AppletViewer.processUserAction(AppletViewer.java:848)
at sun.applet.AppletViewer$UserActionListener.actionPerformed(AppletViewer.java:131)
at java.awt.MenuItem.processActionEvent(MenuItem.java:558)
at java.awt.MenuItem.processEvent(MenuItem.java:522)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:276)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:266)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
------------------------------------------------------------------------------
To reproduce;
1. Execute Clock applet demo.
($JAVAHOME/demo/applets/Clock/example1.html
2. Select "print" from Applet menu.
You can see the error messages like above.
The same phenomenon is reproduced in PrinterJob.pageDialog() using our printing test case.
This problem is not reproduced with merlin b44.
[rieko.suzuki@Japan 2000-12-28]
When using appleviewer to startup a application,
then select print from Applet menu, there will be some error messages like below.
--------------------------------------------------------------------------
sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: Provider uFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFDuFFFD not found
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.lookupDefaultPrintService(PrintServiceLookup.java:116)
at sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:335)
at sun.print.PrintJob2D.findNamedPrintService(PrintJob2D.java:168)
at sun.print.PrintJob2D.copyAttributes(PrintJob2D.java:204)
at sun.print.PrintJob2D.printDialog(PrintJob2D.java:157)
at sun.awt.motif.MToolkit.getPrintJob(MToolkit.java:396)
at sun.applet.AppletViewer.appletPrint(AppletViewer.java:691)
at sun.applet.AppletViewer.processUserAction(AppletViewer.java:848)
at sun.applet.AppletViewer$UserActionListener.actionPerformed(AppletViewer.java:131)
at java.awt.MenuItem.processActionEvent(MenuItem.java:558)
at java.awt.MenuItem.processEvent(MenuItem.java:522)
at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:276)
at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:266)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:439)
at java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:140)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:126)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:121)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
------------------------------------------------------------------------------
To reproduce;
1. Execute Clock applet demo.
($JAVAHOME/demo/applets/Clock/example1.html
2. Select "print" from Applet menu.
You can see the error messages like above.
The same phenomenon is reproduced in PrinterJob.pageDialog() using our printing test case.
This problem is not reproduced with merlin b44.
[rieko.suzuki@Japan 2000-12-28]
- relates to
-
JDK-4401237 PrinterJob.getPrinterJob throws sun.misc.ServiceConfigurationError
-
- Closed
-
-
JDK-4400451 Input method can't be loaded correctly in merlin build 46
-
- Closed
-