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

Intermittent test failures in Node_cssStyleMap_Test and Node_cssStateTransition_Test

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 8
    • Fix Version/s: 8u20
    • Component/s: javafx

      Description

      The fix for RT-33919 or RT-32576 is causing intermittent unit test failures in Node_cssStyleMap_Test and Node_cssStateTransition_Test in our nightly test run (2 out of 4 platforms failed). The following is from linux-1586:

      com.sun.javafx.css.Node_cssStyleMap_Test > testStyleMapTracksChanges FAILED
          java.lang.AssertionError: expected:<3> but was:<0>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.failNotEquals(Assert.java:645)
              at org.junit.Assert.assertEquals(Assert.java:126)
              at org.junit.Assert.assertEquals(Assert.java:470)
              at org.junit.Assert.assertEquals(Assert.java:454)
              at com.sun.javafx.css.Node_cssStyleMap_Test.testStyleMapTracksChanges(Node_cssStyleMap_Test.java:200)

      com.sun.javafx.css.Node_cssStateTransition_Test > testPropertiesResetOnStyleclassChange FAILED
          java.lang.AssertionError: -fx-fill: <Value>
            <value>0xff0000ff</value>
            <converter>null</converter>
          </Value>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.assertTrue(Assert.java:43)
              at com.sun.javafx.css.Node_cssStyleMap_Test$1.onChanged(Node_cssStyleMap_Test.java:160)
              at com.sun.javafx.collections.MapListenerHelper$SingleChange.fireValueChangedEvent(MapListenerHelper.java:157)
              at com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(MapListenerHelper.java:71)
              at com.sun.javafx.collections.ObservableMapWrapper.callObservers(ObservableMapWrapper.java:115)
              at com.sun.javafx.collections.ObservableMapWrapper.put(ObservableMapWrapper.java:173)
              at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:799)
              at javafx.scene.Node.impl_processCSS(Node.java:8882)
              at javafx.scene.Parent.impl_processCSS(Parent.java:1281)
              at javafx.scene.Node.processCSS(Node.java:8725)
              at javafx.scene.Scene.doCSSPass(Scene.java:556)
              at javafx.scene.Scene.access$3500(Scene.java:193)
              at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2341)
              at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:329)
              at com.sun.javafx.css.Node_cssStateTransition_Test.testPropertiesResetOnStyleclassChange(Node_cssStateTransition_Test.java:113)

      com.sun.javafx.css.Node_cssStateTransition_Test > testPropertiesResetOnPsedudoClassStateChange FAILED
          java.lang.AssertionError: -fx-stroke: <Value>
            <value>0x008000ff</value>
            <converter>null</converter>
          </Value>
              at org.junit.Assert.fail(Assert.java:91)
              at org.junit.Assert.assertTrue(Assert.java:43)
              at com.sun.javafx.css.Node_cssStyleMap_Test$1.onChanged(Node_cssStyleMap_Test.java:160)
              at com.sun.javafx.collections.MapListenerHelper$SingleChange.fireValueChangedEvent(MapListenerHelper.java:157)
              at com.sun.javafx.collections.MapListenerHelper.fireValueChangedEvent(MapListenerHelper.java:71)
              at com.sun.javafx.collections.ObservableMapWrapper.callObservers(ObservableMapWrapper.java:115)
              at com.sun.javafx.collections.ObservableMapWrapper.put(ObservableMapWrapper.java:173)
              at javafx.scene.CssStyleHelper.transitionToState(CssStyleHelper.java:799)
              at javafx.scene.Node.impl_processCSS(Node.java:8882)
              at javafx.scene.Parent.impl_processCSS(Parent.java:1281)
              at javafx.scene.Node.processCSS(Node.java:8725)
              at javafx.scene.Scene.doCSSPass(Scene.java:556)
              at javafx.scene.Scene.access$3500(Scene.java:193)
              at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2341)
              at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:329)
              at com.sun.javafx.css.Node_cssStateTransition_Test.testPropertiesResetOnPsedudoClassStateChange(Node_cssStateTransition_Test.java:181)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                dgrieve David Grieve
                Reporter:
                kcr Kevin Rushforth
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported: