Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8212202

[Windows] Exception if no printers are installed.

    XMLWordPrintable

Details

    • 2d
    • b20
    • 11
    • b10
    • generic
    • windows

    Backports

      Description

        A number of tests fails with NPE after JDK-8153732
        Example:
        javax/print/TextFlavorTest.java
        ----------System.out:(1/25)----------
        No print service found.
        ----------System.err:(6/479)----------
        java.lang.NullPointerException
        at java.desktop/sun.print.PrintServiceLookupProvider$RemotePrinterChangeListener.doCompare(PrintServiceLookupProvider.java:413)
        at java.desktop/sun.print.PrintServiceLookupProvider$RemotePrinterChangeListener.run(PrintServiceLookupProvider.java:432)
        at java.base/java.lang.Thread.run(Thread.java:835)

        Attachments

          Issue Links

            Activity

              People

                sveerabhadra Shashidhara Veerabhadraiah (Inactive)
                serb Sergey Bylokhov
                Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: