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

java.lang.StackOverflowError when working with TreeView

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • fx2.0
    • fx2.0
    • javafx
    • promotion build 40

      run application ShortAppWithoutDependencies52.java attached
      to bug http://javafx-jira.kenai.com/browse/RT-14895

      after several clicks on items in TreeView control, exception occurs.

      java.lang.RuntimeException: java.lang.StackOverflowError
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:208)
              at com.sun.glass.ui.View.handleMouseEvent(View.java:256)
              at com.sun.glass.ui.View.notifyMouse(View.java:516)
              at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
              at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
              at com.sun.glass.ui.win.WinApplication$1$1.run(WinApplication.java:49)
              at java.lang.Thread.run(Thread.java:619)
      Caused by: java.lang.StackOverflowError
              at javafx.scene.control.TreeItem.equals(TreeItem.java:545)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)
              at javafx.beans.property.ReadOnlyObjectProperty.equals(ReadOnlyObjectProperty.java:45)
              at javafx.scene.control.TreeItem.equals(TreeItem.java:567)

      see full log attached

            jgiles Jonathan Giles
            vshubov Victor Shubov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: