-
Bug
-
Resolution: Fixed
-
P3
-
8, 8u40
-
None
Drop an AnchorPane (or any node)
From the Properties section, set the style property to:
-fx-region-border test
==> SB becomes unresponsive
The following exception is raised:
java.lang.ClassCastException: java.lang.String cannot be cast to javafx.scene.layout.Border
at javafx.scene.layout.Region$4.invalidated(Region.java:635)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
at javafx.css.StyleableObjectProperty.set(StyleableObjectProperty.java:82)
at javafx.css.StyleableObjectProperty.applyStyle(StyleableObjectProperty.java:68)
at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:775)
at javafx.scene.Node.impl_processCSS(Node.java:9241)
at javafx.scene.Parent.impl_processCSS(Parent.java:1239)
at javafx.scene.Parent.impl_processCSS(Parent.java:1270)
at javafx.scene.Node.processCSS(Node.java:9108)
at javafx.scene.Node.applyCss(Node.java:9205)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.WorkspaceController.layoutContent(WorkspaceController.java:167)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.WorkspaceController.updateContentGroup(WorkspaceController.java:280)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.WorkspaceController.sceneGraphDidChange(WorkspaceController.java:116)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.ContentPanelController.fxomDocumentDidRefreshSceneGraph(ContentPanelController.java:901)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.refreshSceneGraph(FXOMDocument.java:282)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.endUpdate(FXOMDocument.java:264)
at com.oracle.javafx.scenebuilder.kit.editor.job.reference.UpdateReferencesJob.execute(UpdateReferencesJob.java:85)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:193)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:82)
at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.pushJob(InspectorPanelController.java:1232)
...
From the Properties section, set the style property to:
-fx-region-border test
==> SB becomes unresponsive
The following exception is raised:
java.lang.ClassCastException: java.lang.String cannot be cast to javafx.scene.layout.Border
at javafx.scene.layout.Region$4.invalidated(Region.java:635)
at javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:111)
at javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
at javafx.css.StyleableObjectProperty.set(StyleableObjectProperty.java:82)
at javafx.css.StyleableObjectProperty.applyStyle(StyleableObjectProperty.java:68)
at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:775)
at javafx.scene.Node.impl_processCSS(Node.java:9241)
at javafx.scene.Parent.impl_processCSS(Parent.java:1239)
at javafx.scene.Parent.impl_processCSS(Parent.java:1270)
at javafx.scene.Node.processCSS(Node.java:9108)
at javafx.scene.Node.applyCss(Node.java:9205)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.WorkspaceController.layoutContent(WorkspaceController.java:167)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.WorkspaceController.updateContentGroup(WorkspaceController.java:280)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.WorkspaceController.sceneGraphDidChange(WorkspaceController.java:116)
at com.oracle.javafx.scenebuilder.kit.editor.panel.content.ContentPanelController.fxomDocumentDidRefreshSceneGraph(ContentPanelController.java:901)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.refreshSceneGraph(FXOMDocument.java:282)
at com.oracle.javafx.scenebuilder.kit.fxom.FXOMDocument.endUpdate(FXOMDocument.java:264)
at com.oracle.javafx.scenebuilder.kit.editor.job.reference.UpdateReferencesJob.execute(UpdateReferencesJob.java:85)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.executeJob(JobManager.java:193)
at com.oracle.javafx.scenebuilder.kit.editor.JobManager.push(JobManager.java:82)
at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.pushJob(InspectorPanelController.java:1232)
...
- is blocked by
-
JDK-8095791 [CSS] App hangs when setting style to -fx-region-border
- Resolved