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

CSS parser error messages carries little information

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • fx2.0
    • javafx
    • None

      When adding a stylesheet containing
      .logo-highlight {
      -fx-background-color: radial-gradient(radius 100%, center 50% 50%, red, darkgray, black);
      }

      I get the error "Cannot add stylesheet. null"

      To make stylesheets easier to debug, I suggest you provide the line number and character index of the error along with a message stating what kind of problem was encountered. Something like "Unable to read parameter <parameter name> because <something> is not <something else> at line 20 character 33".

            dgrieve David Grieve
            risaksen Randahl Isaksen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: