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

Exception in NGCanvas

XMLWordPrintable

    • x86
    • os_x

      ADDITIONAL SYSTEM INFORMATION :
      - OS : macOS Sierra (version 10.12.6)

      - PC : MacBook Pro (13-inch 2016)

      - JDK

      P43801:logs minsoo.jun$ java -version
      java version "1.8.0_171"
      Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
      Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)

      A DESCRIPTION OF THE PROBLEM :
      at com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:213)
      at com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:640)
      at com.sun.javafx.sg.prism.NGCanvas.renderForcedContent(NGCanvas.java:624)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.sg.prism.NGGroup.renderForcedContent(NGGroup.java:198)
      at com.sun.javafx.tk.quantum.ViewPainter.paintImpl(ViewPainter.java:332)
      at com.sun.javafx.tk.quantum.PresentingPainter.run(PresentingPainter.java:91)
      at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
      at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
      at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
      at java.lang.Thread.run(Thread.java:748)



      REGRESSION : Last worked in version 8u172

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      The exception occurs only on certain systems. We use Canvas to draw diagrams. Could be that this has something to do with the resolution of the monitor ?

      One more question: is any way to know if a canvas is not dispayed ( as it is in a tabpane and the tab is not selected ) ? I would need to call a method on canvas, as the hirarchy of nodes can be more complex. I need this as I can have many tabs and many canvases, and I would avoid drawing the canvas if is not directly shown.


      FREQUENCY : often


            pmangal Priyanka Mangal (Inactive)
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: