sun.misc.ServiceConfigurationError: javax.print.PrintServiceLookup: http://qang.kingland.cc:30510/ManagementReports/META-INF/services/javax.print.PrintServiceLookup:28: Illegal provider-class name: <html>

Oracle Community | 806558 | 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

    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>
  2. 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

    Root Cause Analysis

    1. sun.misc.ServiceConfigurationError

      javax.print.PrintServiceLookup: http://qang.kingland.cc:30510/ManagementReports/META-INF/services/javax.print.PrintServiceLookup:28: Illegal provider-class name: <html>

      at sun.misc.Service.fail()
    2. Java RT
      WToolkit.getPrintJob
      1. sun.misc.Service.fail(Unknown Source)
      2. sun.misc.Service.fail(Unknown Source)
      3. sun.misc.Service.parseLine(Unknown Source)
      4. sun.misc.Service.parse(Unknown Source)
      5. sun.misc.Service.access$100(Unknown Source)
      6. sun.misc.Service$LazyIterator.hasNext(Unknown Source)
      7. javax.print.PrintServiceLookup$1.run(Unknown Source)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. javax.print.PrintServiceLookup.getAllLookupServices(Unknown Source)
      10. javax.print.PrintServiceLookup.lookupDefaultPrintService(Unknown Source)
      11. sun.print.RasterPrinterJob.getPrintService(Unknown Source)
      12. sun.awt.windows.WPrinterJob.getPrintService(Unknown Source)
      13. sun.print.PrintJob2D.findNamedPrintService(Unknown Source)
      14. sun.print.PrintJob2D.copyAttributes(Unknown Source)
      15. sun.print.PrintJob2D.printDialog(Unknown Source)
      16. sun.awt.windows.WToolkit.getPrintJob(Unknown Source)
      17. sun.awt.windows.WToolkit.getPrintJob(Unknown Source)
      17 frames
    3. com.kingland.reports
      ReportFrame$7.actionPerformed
      1. com.kingland.reports.ReportFrame.printReport(ReportFrame.java:1716)
      2. com.kingland.reports.ReportFrame.printReport(ReportFrame.java:1685)
      3. com.kingland.reports.ReportFrame$7.actionPerformed(ReportFrame.java:658)
      3 frames
    4. Java RT
      EventDispatchThread.run
      1. java.awt.MenuItem.processActionEvent(Unknown Source)
      2. java.awt.MenuItem.processEvent(Unknown Source)
      3. java.awt.MenuComponent.dispatchEventImpl(Unknown Source)
      4. java.awt.MenuComponent.dispatchEvent(Unknown Source)
      5. java.awt.EventQueue.dispatchEvent(Unknown Source)
      6. java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
      7. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      8. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      9. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      10. java.awt.EventDispatchThread.run(Unknown Source)
      10 frames