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

Canvas drawing in many child nodes causing NullPointerException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 8u31
    • Fix Version/s: 8u60
    • Component/s: javafx
    • Labels:
    • Environment:

      Mac OS 10.10.2 (Yosemite). MacBook Pro (Retina, 15-inch, Early 2013)

      Description

      A ScrollPane contains a grid of Panes, each of which contains a small Canvas. When the number of Panes reaches 750 or so, the ScrollPane may fail to update its content. Occasionally it will show bits and pieces from the open windows of other applications. The memory setting for the test code is set at -Xmx2000m.

      Typically error message in Exception trace: ERROR: unexpected fbo is bound! Expected 1, but found 4

      java.lang.NullPointerException
      at com.sun.javafx.sg.prism.NGCanvas$RenderBuf.validate(NGCanvas.java:202)
      at com.sun.javafx.sg.prism.NGCanvas.initCanvas(NGCanvas.java:615)
      at com.sun.javafx.sg.prism.NGCanvas.renderContent(NGCanvas.java:578)

      NOTE: the Exception trace may vary.

        Attachments

          Activity

            People

            Assignee:
            ckyang Chien Yang (Inactive)
            Reporter:
            duke J. Duke (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: