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

CSS: Parser chokes on value with class name or enum specifier (e.g., Color.DODGERBLUE)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • 8
    • None
    • javafx

      Accessing to -fx-progress-color initial value creates NPE in CSSParser
      Accessing to the initial value creates an NPE.

      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token '.' at ?[1,087,139]
      WARNING: com.sun.javafx.css.parser.CSSParser term Unexpected token '.' at ?[1,087,139]
      class com.sun.javafx.scene.control.skin.ProgressIndicatorSkin ERROR WITH -fx-progress-color
      Reset exception java.lang.NullPointerException
      java.lang.NullPointerException
      at com.sun.javafx.css.parser.CSSParser.expr(CSSParser.java:3644)
      at com.sun.javafx.css.parser.CSSParser.parseExpr(CSSParser.java:207)
      at com.sun.javafx.css.StyleableProperty.parse(StyleableProperty.java:698)
      at com.sun.javafx.css.StyleableProperty.getInitialValue(StyleableProperty.java:260)

            dgrieve David Grieve
            jfdenise Jean-Francois Denise (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: