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

NPE when MeshView is added to scene without mesh set

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • javafx
    • 8.0-graphics-scrum-b1201-x64

      Run the attached app.
      Observe the following exception.
      JavaFX rendering thread is broken (try to resize it for example: window is resized but background fill is not rendered).

      JavaFX Application Thread uncaught: java.lang.NullPointerException
      java.lang.NullPointerException
      JavaFX Application Thread uncaught: java.lang.NullPointerException
      at javafx.scene.shape.MeshView.impl_computeGeomBounds(MeshView.java:144)
      at javafx.scene.Node.updateGeomBounds(Node.java:3459)
      at javafx.scene.Node.getGeomBounds(Node.java:3412)
      at javafx.scene.Node.getLocalBounds(Node.java:3394)
      at javafx.scene.Node.updateTxBounds(Node.java:3472)
      at javafx.scene.Node.getTransformedBounds(Node.java:3312)
      at javafx.scene.Parent.recomputeBounds(Parent.java:1437)
      at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1301)
      at javafx.scene.Node.updateGeomBounds(Node.java:3459)
      at javafx.scene.Node.getGeomBounds(Node.java:3412)
      at javafx.scene.Node.getLocalBounds(Node.java:3394)
      at javafx.scene.Node.impl_intersectsBounds(Node.java:4636)
      at javafx.scene.Parent.impl_pickNodeLocal(Parent.java:682)
      at javafx.scene.Node.impl_pickNode(Node.java:4535)
      at javafx.scene.Scene$MouseHandler.pickNode(Scene.java:3768)
      at javafx.scene.Scene$MouseHandler.access$2000(Scene.java:3415)
      at javafx.scene.Scene.pick(Scene.java:1871)
      at javafx.scene.Scene.access$7100(Scene.java:188)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3583)
      at javafx.scene.Scene$MouseHandler.process(Scene.java:3463)
      at javafx.scene.Scene$MouseHandler.access$1900(Scene.java:3415)
      at javafx.scene.Scene.impl_processMouseEvent(Scene.java:1692)
      at javafx.scene.Scene$ScenePeerListener.mouseEvent(Scene.java:2483)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:312)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(GlassViewEventHandler.java:237)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:354)
      at com.sun.glass.ui.View.handleMouseEvent(View.java:514)
      at com.sun.glass.ui.View.notifyMouse(View.java:877)
      at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      at com.sun.glass.ui.win.WinApplication.access$300(WinApplication.java:39)
      at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:101)
      at java.lang.Thread.run(Thread.java:724)

            yaow Yao Wang (Inactive)
            mrkam Alexander Kuznetcov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: