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

PrinterJob.printPage() triggers a stack with message "*** unexpected PG access"

    Details

    • Type: Bug
    • Status: Open
    • Priority: P4
    • Resolution: Unresolved
    • Affects Version/s: 8, 9
    • Fix Version/s: tbd_major
    • Component/s: javafx
    • Environment:

      FX 8 b85 on Windows. Didn't try Mac nor Linux.

      Description

      Every single time I call PrinterJob.printPage() I read one or more stacks as the one below. It seems harmless by the way.
      *** unexpected PG access
      java.lang.Exception: Stack trace
          at java.lang.Thread.dumpStack(Thread.java:1345)
          at javafx.scene.Node.impl_getPGNode(Node.java:2175)
          at com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable.printNode(J2DPrinterJob.java:1002)
          at com.sun.prism.j2d.print.J2DPrinterJob$J2DPageable.print(J2DPrinterJob.java:993)
          at sun.print.RasterPrinterJob.printPage(RasterPrinterJob.java:1973)
          at sun.print.RasterPrinterJob.print(RasterPrinterJob.java:1461)
          at com.sun.prism.j2d.print.J2DPrinterJob$PrintJobRunnable.run(J2DPrinterJob.java:736)
          at java.lang.Thread.run(Thread.java:722)

        Attachments

          Activity

            People

            • Assignee:
              prr Philip Race
              Reporter:
              yjoan Yves Joan (Inactive)
            • Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Imported: