JDK-8123806 : StackOverflowError in Modena
  • Type: Bug
  • Component: javafx
  • Sub-Component: controls
  • Affected Version: 8
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-08-20
  • Updated: 2015-06-17
  • Resolved: 2013-08-21
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8
8Fixed
Related Reports
Relates :  
Relates :  
Description
-Modena-- (and Win)
bash-3.2$ java -Xbootclasspath/a:/Users/jpgodine/Workspace/FX/8.0/build/jfx/artifacts/sdk/rt/lib/ext/jfxrt.jar -jar Modena.jar
MODENA_EMBEDDED_STYLESHEET_URL = jar:file:/Users/jpgodine/Workspace/FX/8.0/build/jfx/artifacts/sdk/rt/lib/ext/jfxrt.jar!/com/sun/javafx/scene/control/skin/modena/modena-embedded-performance.css
baseColor = null
accentColor = null
backgroundColor = null
Exception in Application start method
java.lang.StackOverflowError
    at javafx.scene.control.ComboBox.getConverter(ComboBox.java:288)
    at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.updateDisplayNode(ComboBoxListViewSkin.java:390)
    at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.getDisplayNode(ComboBoxListViewSkin.java:250)
    at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.updateDisplayArea(ComboBoxBaseSkin.java:131)
    at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.computePrefHeight(ComboBoxBaseSkin.java:189)
    at javafx.scene.control.Control.computePrefHeight(Control.java:537)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:1501)
    at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1688)
    at javafx.scene.layout.Region.computeMaxPrefAreaHeight(Region.java:1592)
    at javafx.scene.layout.HBox.computePrefHeight(HBox.java:439)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:1501)
    at javafx.scene.layout.VBox.getAreaHeights(VBox.java:443)
    at javafx.scene.layout.VBox.computeContentHeight(VBox.java:519)
    at javafx.scene.layout.VBox.computePrefHeight(VBox.java:418)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at javafx.scene.layout.AnchorPane.computeHeight(AnchorPane.java:297)
    at javafx.scene.layout.AnchorPane.computePrefHeight(AnchorPane.java:254)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at com.sun.javafx.scene.control.skin.ScrollPaneSkin.canChangeVerticalSBVisibility(ScrollPaneSkin.java:950)
    at com.sun.javafx.scene.control.skin.ScrollPaneSkin.access$2300(ScrollPaneSkin.java:65)
    at com.sun.javafx.scene.control.skin.ScrollPaneSkin$4.requestLayout(ScrollPaneSkin.java:258)
    at javafx.scene.Parent.requestParentLayout(Parent.java:885)
    at javafx.scene.Parent.markDirtyLayout(Parent.java:853)
    at javafx.scene.Parent.requestLayout(Parent.java:869)
    at javafx.scene.Parent.requestParentLayout(Parent.java:885)
    at javafx.scene.Parent.markDirtyLayout(Parent.java:853)
    at javafx.scene.Parent.requestLayout(Parent.java:869)
    at javafx.scene.layout.VBox.requestLayout(VBox.java:538)
    at javafx.scene.Parent.requestParentLayout(Parent.java:885)
    at javafx.scene.Parent.markDirtyLayout(Parent.java:853)
    at javafx.scene.Parent.requestLayout(Parent.java:869)
    at javafx.scene.layout.HBox.requestLayout(HBox.java:562)
    at javafx.scene.Parent.requestParentLayout(Parent.java:885)
    at javafx.scene.Parent.markDirtyLayout(Parent.java:853)
    at javafx.scene.Parent.requestLayout(Parent.java:869)
    at javafx.scene.Parent.requestParentLayout(Parent.java:885)
    at javafx.scene.Parent.markDirtyLayout(Parent.java:853)
    at javafx.scene.Parent.requestLayout(Parent.java:869)
    at com.sun.javafx.scene.control.skin.TextFieldSkin$15.invalidated(TextFieldSkin.java:309)
    at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:339)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
    at javafx.beans.binding.BooleanBinding.invalidate(BooleanBinding.java:176)
    at com.sun.javafx.binding.BindingHelperObserver.invalidated(BindingHelperObserver.java:51)
    at com.sun.javafx.binding.ExpressionHelper$Generic.fireValueChangedEvent(ExpressionHelper.java:339)
    at com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:80)
    at javafx.scene.control.TextInputControl$TextProperty.fireValueChangedEvent(TextInputControl.java:1094)
    at javafx.scene.control.TextInputControl$TextProperty.markInvalid(TextInputControl.java:1098)
    at javafx.scene.control.TextInputControl$TextProperty.set(TextInputControl.java:1034)
    at javafx.scene.control.TextInputControl.setText(TextInputControl.java:279)
    at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.updateDisplayNode(ComboBoxListViewSkin.java:403)
    at com.sun.javafx.scene.control.skin.ComboBoxListViewSkin.getDisplayNode(ComboBoxListViewSkin.java:250)
    at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.updateDisplayArea(ComboBoxBaseSkin.java:131)
    at com.sun.javafx.scene.control.skin.ComboBoxBaseSkin.computePrefHeight(ComboBoxBaseSkin.java:189)
    at javafx.scene.control.Control.computePrefHeight(Control.java:537)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:1501)
    at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1688)
    at javafx.scene.layout.Region.computeMaxPrefAreaHeight(Region.java:1592)
    at javafx.scene.layout.HBox.computePrefHeight(HBox.java:439)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:1501)
    at javafx.scene.layout.VBox.getAreaHeights(VBox.java:443)
    at javafx.scene.layout.VBox.computeContentHeight(VBox.java:519)
    at javafx.scene.layout.VBox.computePrefHeight(VBox.java:418)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at javafx.scene.layout.AnchorPane.computeHeight(AnchorPane.java:297)
    at javafx.scene.layout.AnchorPane.computePrefHeight(AnchorPane.java:254)
    at javafx.scene.Parent.prefHeight(Parent.java:917)
    at javafx.scene.layout.Region.prefHeight(Region.java:1221)
    at com.sun.javafx.scene.control.skin.ScrollPaneSkin.canChangeVerticalSBVisibility(ScrollPaneSkin.java:950)
    at com.sun.javafx.scene.control.skin.ScrollPaneSkin.access$2300(ScrollPaneSkin.java:65)
    at com.sun.javafx.scene.control.skin.ScrollPaneSkin$4.requestLayout(ScrollPaneSkin.java:258)
    at javafx.scene.Parent.requestParentLayout(Parent.java:885)
    at javafx.scene.Parent.markDirtyLayout(Parent.java:853)
    at javafx.scene.Parent.requestLayout(Parent.java:869) 
Comments
Verified on 8.0b105 : no failures
04-09-2013

Confirm, b104 - reproducible.
28-08-2013

This was only just fixed, you need to wait a bit longer to see it in the promoted builds.
21-08-2013

Still seen the same java.lang.StackOverflowError on windows and mac with http://jre.us.oracle.com/java/re/javafx/8.0/prepromote/ea/b104
21-08-2013

If RT-31901 is backed out, Modena works again. I will back it out of the controls scrum now and reopen RT-31901.
20-08-2013

This seems to be a regression introduced by the patch proposed by Martin over at RT-31901. I will investigate further but right now my inclination is to back that changeset out.
20-08-2013

I don't get the same error that Jennifer is seeing, but I do get a different OOM issue that may be related to RT-32327 based on what I see in the thread stack dump.
20-08-2013