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

NullPointerException at PrinterJob.pageDialog() under Linux

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1 P1
    • None
    • 6u6
    • client-libs
    • None
    • 2d
    • x86
    • linux_2.6

      When I invoke
      PrinterJob.getPrinterJob().pageDialog(PrinterJob.getPrinterJob().defaultPage())
      I get java.lang.NullPointerException: null attribute.
      See attached Main.java file and log.

      Java: java -version
      java version "1.6.0_06"
      Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
      Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)

      OS: uname -a
      Linux master-desktop 2.6.24-19-generic #1 SMP Fri Jul 11 23:41:49 UTC 2008 i686 GNU/Linux

            jgodinez Jennifer Godinez (Inactive)
            vyarosla Vladimir Yaroslavskiy (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: