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

[Windows] Exception if no printers are installed.

    Details

    • Subcomponent:
      2d
    • Introduced In Build:
      b20
    • Introduced In Version:
      11
    • Resolved In Build:
      b10
    • CPU:
      generic
    • OS:
      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

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: