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

setTextOrigin(null) kills the scene graph

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 7u6
    • javafx
    • None

      Setting the text origin on a node to null will cause an exception in the scene graph synchronization code that is unrecoverable.

      Run the attached test case, click on the window (the MOUSE_CLICKED handler will set the text origin on the text node to null) and see the NPE. If you move the mouse within the window you will get continuous NPEs after that. Note that the test case tries to set the origin back to a non-null value on a second click, but the event code is unable to process any more events due to the NPEs.

            kcr Kevin Rushforth
            flar Jim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: