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

CSS parser error messages carries little information

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: fx2.0
    • Fix Version/s: None
    • Component/s: javafx
    • Labels:
      None

      Description

      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".

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported: