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

KIT : LibraryPanelController.setDisplayMode() breaks and raises an NPE

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8
    • Fix Version/s: 8u40
    • Component/s: javafx
    • Labels:
      None

      Description

      If you do this:

      LibraryPanelController lpc = new LibraryPanelController(new EditorController());
      lpc.setDisplayMode(DISPLAY_MODE.LIST);

      you get the following exception:

      java.lang.NullPointerException
      at com.oracle.javafx.scenebuilder.kit.editor.panel.library.LibraryPanelController.setDisplayMode(LibraryPanelController.java:281)

        Attachments

          Activity

            People

            Assignee:
            yjoan Yves Joan (Inactive)
            Reporter:
            eleponn Eric Le Ponner
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported: