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

ScrollPane: StackOverflow exception

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: fx2.0
    • Fix Version/s: fx2.0
    • Component/s: javafx
    • Environment:

      Win7/JDK6/FX-b35

      Description

      To reproduce run attached application and try to scroll ScrollPane's content several times.

      java.lang.RuntimeException: java.lang.StackOverflowError
              at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(GlassViewEventHandler.java:203)
              at com.sun.glass.ui.View.handleMouseEvent(View.java:252)
              at com.sun.glass.ui.View.notifyMouse(View.java:512)
              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:662)
      Caused by: java.lang.StackOverflowError
              at java.lang.Math.round(Math.java:662)
              at javafx.scene.layout.Region.snapPosition(Region.java:126)
              at javafx.scene.layout.Region.snapPosition(Region.java:941)
              at com.sun.javafx.scene.control.skin.ScrollPaneSkin.updatePosX(ScrollPaneSkin.java:565)
              at com.sun.javafx.scene.control.skin.ScrollPaneSkin.access$1300(ScrollPaneSkin.java:31)
              at com.sun.javafx.scene.control.skin.ScrollPaneSkin$4.invalidated(ScrollPaneSkin.java:182)
              at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:108)
              at javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:63)
              at javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:116)
              at javafx.scene.control.ScrollBar.setValue(ScrollBar.java:116)
              at com.sun.javafx.scene.control.skin.ScrollPaneSkin.handleControlPropertyChanged(ScrollPaneSkin.java:266)
              at com.sun.javafx.scene.control.skin.SkinBase$3.changed(SkinBase.java:219)
              at javafx.beans.value.WeakChangeListener.changed(WeakChangeListener.java:50)
              at javafx.beans.value.ObservableValueBase$ChangeListenerWrapper.invalidated(ObservableValueBase.java:133)
              at javafx.beans.value.ObservableValueBase.fireValueChangedEvent(ObservableValueBase.java:108)
              at javafx.beans.property.DoublePropertyBase.markInvalid(DoublePropertyBase.java:63)
              at javafx.beans.property.DoublePropertyBase.set(DoublePropertyBase.java:116)
              at javafx.scene.control.ScrollPane.setHvalue(ScrollPane.java:159)
              at com.sun.javafx.scene.control.skin.ScrollPaneSkin.updatePosX(ScrollPaneSkin.java:566)
              at com.sun.javafx.scene.control.skin.ScrollPaneSkin.access$1300(ScrollPaneSkin.java:31)
      .........

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                miflemi Mick Fleming (Inactive)
                Reporter:
                ogb Oleg Barbashov (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: