com.sun.stylesheet.StylesheetException: unable to convert string 'WHITE' to a color

Oracle Community | 843851 | 8 years ago
  1. 0

    runtime problem some sample not working

    Oracle Community | 8 years ago | 843851
    com.sun.stylesheet.StylesheetException: unable to convert string 'WHITE' to a color

    Root Cause Analysis

    1. com.sun.stylesheet.StylesheetException

      unable to convert string 'WHITE' to a color

      at com.sun.stylesheet.types.AbstractColorConverter.convertFromString()
    2. com.sun.stylesheet
      Stylesheet.applyTo
      1. com.sun.stylesheet.types.AbstractColorConverter.convertFromString(AbstractColorConverter.java:123)
      2. com.sun.stylesheet.javafx.ColorConverter.convertFromString(ColorConverter.java:44)
      3. com.sun.stylesheet.types.TypeManager.convertFromString(TypeManager.java:486)
      4. com.sun.stylesheet.javafx.PaintConverter.convertFromString$impl(PaintConverter.fx:43)
      5. com.sun.stylesheet.javafx.PaintConverter.convertFromString(PaintConverter.fx:31)
      6. com.sun.stylesheet.types.TypeManager.convertFromString(TypeManager.java:486)
      7. com.sun.stylesheet.styleable.DefaultStyleable.convertPropertyFromString(DefaultStyleable.java:152)
      8. com.sun.stylesheet.Declaration.convertValue(Declaration.java:76)
      9. com.sun.stylesheet.Declaration.applyTo(Declaration.java:91)
      10. com.sun.stylesheet.Rule.applyTo(Rule.java:221)
      11. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:277)
      12. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      13. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      14. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      15. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      16. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      17. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      18. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      19. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:282)
      20. com.sun.stylesheet.Stylesheet.applyTo(Stylesheet.java:257)
      20 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
    4. simplevideoplayer
      Main.javafx$run$
      1. simplevideoplayer.Main.javafx$run$(Main.fx:82)
      2. simplevideoplayer.Main.javafx$run$(Main.fx:82)
      2 frames