com.sun.stylesheet.UnsupportedPropertyException: java.lang.IllegalArgumentException: state

Oracle Community | ahhughes | 8 years ago
  1. 0

    Controls, Skins, CSS and Custom "psuedoclass" (beyond :hover, :pressed...)

    Oracle Community | 8 years ago | ahhughes
    com.sun.stylesheet.UnsupportedPropertyException: java.lang.IllegalArgumentException: state

    Root Cause Analysis

    1. com.sun.stylesheet.UnsupportedPropertyException

      java.lang.IllegalArgumentException: state

      at com.sun.stylesheet.javafx.FXObjectStyleSupport.addPseudoclassListener()
    2. com.sun.stylesheet
      Stylesheet.applyTo
      1. com.sun.stylesheet.javafx.FXObjectStyleSupport.addPseudoclassListener(FXObjectStyleSupport.java:430)
      2. com.sun.stylesheet.styleable.DefaultStyleable.addPseudoclassListener(DefaultStyleable.java:184)
      3. com.sun.stylesheet.PropertyManager.addPseudoclassListener(PropertyManager.java:447)
      4. com.sun.stylesheet.Rule.applyTo(Rule.java:226)
      5. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:277)
      6. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      7. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:257)
      7 frames
    3. javafx.scene
      Scene.initialize$
      1. javafx.scene.Scene.applyStylesheets$impl(Scene.fx:235)
      2. javafx.scene.Scene.applyStylesheets(Scene.fx:43)
      3. javafx.scene.Scene.userInit$(Scene.fx:220)
      4. javafx.scene.Scene.initialize$(Scene.fx:43)
      4 frames