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

toolkit.getPrintJob throws NPE on Win ia64

XMLWordPrintable

    • 2d
    • tiger
    • itanium
    • windows_xp

      The method toolkit.getPrintJob of ToolKit class throws NPE on Windows 64 IA in Tiger Build 06.
      It does not throw NPE in Tiger Build 02.

      Steps to reproduce:
      compile and run the attached code


      ###@###.### 2003-05-22
      The stack Trace is

      java.lang.NullPointerException
              at sun.print.PrintJob2D.printDialog(PrintJob2D.java:427)
              at sun.awt.windows.WToolkit.getPrintJob(WToolkit.java:614)
              at Printing.testDimandResTest(Printing.java:39)
              at Printing.test(Printing.java:27)
              at Printing.<init>(Printing.java:13)
              at Printing.main(Printing.java:8)

            jgodinez Jennifer Godinez (Inactive)
            mjoshisunw Mayank Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: