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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: fx2.1
    • Fix Version/s: fx2.1
    • Component/s: javafx
    • Environment:

      JavaFX 2.1b10, WinXPsp3, JDK7u2b13

      Description

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported: