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

Application freeze caused by TreeView (?)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P3 P3
    • 8
    • 7u40
    • javafx
    • Linux (Ubuntu 12.04 LTS) and Windows 7
      JavaSE-1.7

      Java Application freezes.

      Sample:
      A simple Application with two Buttons and a TreeView (Sceneroot is just a VBox).

      Button 1: Add a new TreeItem to TreeView.
      Button 2: Remove TreeItem from VBox

      Scenario:

      Add a new TreeItem to the TreeView's root (Button 1) and then select it. Remove the TreeView from VBox (Button 2). Then add three (!) more TreeItems to the TreeView and the Application freezes.

      After some time, a OutOfMemory Exception is thrown. As I figured out, there seems to be a problem with the updateItem method from the TreeCell, because its called infinite times.

            jgiles Jonathan Giles
            duke J. Duke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: