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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P4
    • 8u40
    • 8
    • javafx
    • None

    Description

      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)

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported: