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

NPE when invoking a menu item while search box is focused

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 7u6
    • 7u6
    • javafx

      Start the tool, click on the search box text field, then click on File menu from the menu bar.
      You will get :
      Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
      at com.oracle.javafx.authoring.ApplicationMenu.commitCurrentEdition(ApplicationMenu.java:1107)
      at com.oracle.javafx.authoring.ApplicationMenu$16.handle(ApplicationMenu.java:602)
      at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(CompositeEventHandler.java:69)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:217)
      at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(EventHandlerManager.java:170)
      at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(BasicEventDispatcher.java:37)
      at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(EventDispatchChainImpl.java:92)
      at com.sun.javafx.event.EventUtil.fireEventImpl(EventUtil.java:53)
      at com.sun.javafx.event.EventUtil.fireEvent(EventUtil.java:33)
      at javafx.event.Event.fireEvent(Event.java:171)
      at com.sun.javafx.scene.control.GlobalMenuAdapter$MenuItemAdapter.fireValidation(GlobalMenuAdapter.java:194)
      at com.sun.javafx.tk.quantum.GlassSystemMenu$6.validate(GlassSystemMenu.java:229)

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

              Created:
              Updated:
              Resolved:
              Imported: