KIT : InspectorPanelController.setExpandedSection() breaks and raises an NPE

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8u40
    • Affects Version/s: 8
    • Component/s: javafx
    • None

      If you do this:

              InspectorPanelController ipc = new InspectorPanelController(new EditorController());
              ipc.setExpandedSection(InspectorPanelController.SectionId.PROPERTIES);

      you get the following exception:
      Caused by: java.lang.NullPointerException
      at com.oracle.javafx.scenebuilder.kit.editor.panel.inspector.InspectorPanelController.setExpandedSection(InspectorPanelController.java:374)
      at javafxapplication4.JavaFXApplication4.start(JavaFXApplication4.java:50)
      at com.sun.javafx.application.LauncherImpl$8.run(LauncherImpl.java:837)
      at com.sun.javafx.application.PlatformImpl$7.run(PlatformImpl.java:335)
      at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:301)
      at com.sun.javafx.application.PlatformImpl$6$1.run(PlatformImpl.java:298)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.javafx.application.PlatformImpl$6.run(PlatformImpl.java:298)
      at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)

            Assignee:
            Jerome Cambon
            Reporter:
            Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported: