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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: 8
    • Component/s: javafx
    • Labels:

      Description

      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: