sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: : java.io.FileNotFoundException: http://localhost/META-INF/services/javax.print.PrintServiceLookup

Oracle Community | 807541 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Printing from applet

    Oracle Community | 1 decade ago | 807541
    sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: : java.io.FileNotFoundException: http://localhost/META-INF/services/javax.print.PrintServiceLookup
  2. 0

    Applet Print in 1.4 causes illegal provider-class name

    Oracle Community | 1 decade ago | 806558
    sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: http://qang.kingland.cc:30510/ManagementReports/META-INF/services/javax.print.PrintServiceLookup:28: Illegal provider-class name: <html>

    Root Cause Analysis

    1. sun.misc.ServiceConfigurationError

      javax.print.PrintServiceLookup: : java.io.FileNotFoundException: http://localhost/META-INF/services/javax.print.PrintServiceLookup

      at sun.misc.Service.fail()
    2. Java RT
      WToolkit.getPrintJob
      1. sun.misc.Service.fail(Service.java:129)
      2. sun.misc.Service.parse(Service.java:208)
      3. sun.misc.Service.access$100(Service.java:111)
      4. sun.misc.Service$LazyIterator.hasNext(Service.java:257)
      5. javax.print.PrintServiceLookup$1.run(PrintServiceLookup.java:326)
      6. java.security.AccessController.doPrivileged(Native Method)
      7. javax.print.PrintServiceLookup.getAllLookupServices(PrintServiceLookup.java:320)
      8. javax.print.PrintServiceLookup.lookupDefaultPrintService(PrintServiceLookup.java:162)
      9. sun.print.RasterPrinterJob.getPrintService(RasterPrinterJob.java:348)
      10. sun.awt.windows.WPrinterJob.getPrintService(WPrinterJob.java:408)
      11. sun.print.PrintJob2D.findNamedPrintService(PrintJob2D.java:187)
      12. sun.print.PrintJob2D.copyAttributes(PrintJob2D.java:223)
      13. sun.print.PrintJob2D.printDialog(PrintJob2D.java:176)
      14. sun.awt.windows.WToolkit.getPrintJob(WToolkit.java:600)
      15. sun.awt.windows.WToolkit.getPrintJob(WToolkit.java:586)
      15 frames
    3. Unknown
      PrintingChartApplet.actionPerformed
      1. PrintingChartApplet.printChart(PrintingChartApplet.java:67)
      2. PrintingChartApplet.actionPerformed(PrintingChartApplet.java:53)
      2 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.Button.processActionEvent(Button.java:381)
      2. java.awt.Button.processEvent(Button.java:350)
      3. java.awt.Component.dispatchEventImpl(Component.java:3526)
      4. java.awt.Component.dispatchEvent(Component.java:3367)
      5. java.awt.EventQueue.dispatchEvent(EventQueue.java:445)
      6. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:191)
      7. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:144)
      8. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      9. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:130)
      10. java.awt.EventDispatchThread.run(EventDispatchThread.java:98)
      10 frames