Empt stylesheet gives misleading error message

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • None
    • Affects Version/s: 7-pool
    • Component/s: javafx

      If a stylesheet is empty or contains only comments, you get the following warning which is misleading:
      WARNING: com.sun.javafx.css.StyleManager loadStylesheet Resource "file:/C:/blah/path/to/my/file/emptyfile.css" not found.

      This is because the parser returns null if the stylesheet is empty.

            Assignee:
            David Grieve
            Reporter:
            David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: