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

ListView fails to load skin class (regression observed in 2.1b10)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • fx2.1
    • fx2.1
    • javafx
    • JavaFX 2.1b10, WinXPsp3, JDK7u2b13

      The sample Service Test here: https://forums.oracle.com/forums/thread.jspa?messageID=9984287&#9984287 creates a ListView.

      The program runs fine under JavaFX 2.0.2, but throws an exception and does not display a ListView under JavaFX 2.1.

      Exception thrown is:

      SEVERE: javafx.scene.control.Control loadSkinClass Failed to load skin 'StringProperty [bean: ListView@1ab5fd5[styleClass=list-view], name: skinClassName, value: com.sun.javafx.scene.control.skin.ListViewSkin]' for control ListView@1ab5fd5[styleClass=list-view]
      java.lang.NullPointerException
      at com.sun.javafx.scene.control.behavior.ListViewBehavior.<init>(Unknown Source)
              ...

            jgiles Jonathan Giles
            josmithjfx John Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: