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

NPE in CSS StyleManager getStyleHelper

XMLWordPrintable

      If a Parent has a stylesheet and the stylesheet is not valid (file not found, for example) getStyleHelper will throw an NPE.

      java.lang.NullPointerException
      at com.sun.javafx.css.StyleManager$StylesheetContainer.getStyleHelper(StyleManager.java:1239)
      at com.sun.javafx.css.StyleManager$StylesheetContainer.access$1300(StyleManager.java:1004)
      at com.sun.javafx.css.StyleManager.getStyleHelper(StyleManager.java:941)
      at javafx.scene.Node.impl_createStyleHelper(Node.java:7359)
      at javafx.scene.Node.impl_processCSS(Node.java:7329)

            dgrieve David Grieve
            dgrieve David Grieve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: