Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-1384

NPE with keyboard shortcut

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.0
    • 10.0
    • ide - UI
    • None

    Description

      Hitting ctrl+alt+shift+C in an editor window:

       

      java.lang.NullPointerException
      	at org.netbeans.core.multiview.TabsComponent.peerClearSplit(TabsComponent.java:191)
      	at org.netbeans.core.multiview.MultiViewPeer.peerClearSplit(MultiViewPeer.java:389)
      	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.clearSplit(MultiViewCloneableTopComponent.java:227)
      	at org.netbeans.core.multiview.SplitAction.clearSplit(SplitAction.java:215)
      	at org.netbeans.core.multiview.ClearSplitAction.actionPerformed(ClearSplitAction.java:59)
      	at org.openide.awt.AlwaysEnabledAction$1.run(AlwaysEnabledAction.java:174)
      	at org.openide.util.actions.ActionInvoker$1.run(ActionInvoker.java:70)
      	at org.openide.util.actions.ActionInvoker.doPerformAction(ActionInvoker.java:91)
      	at org.openide.util.actions.ActionInvoker.invokeAction(ActionInvoker.java:74)
      	at org.openide.awt.AlwaysEnabledAction.actionPerformed(AlwaysEnabledAction.java:177)
      	at org.openide.windows.TopComponent.processKeyBinding(TopComponent.java:1151)
      	at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2962)
      	at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
      	at java.desktop/java.awt.Component.processEvent(Component.java:6366)
      	at java.desktop/java.awt.Container.processEvent(Container.java:2261)
      	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4966)
      	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
      	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
      	at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
      	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:871)
      	at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1140)
      	at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1010)
      	at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:836)
      	at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4847)
      	at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2319)
      	at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
      	at java.desktop/java.awt.Component.dispatchEvent(Component.java:4798)
      	at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
      	at java.desktop/java.awt.EventQueue.access$600(EventQueue.java:97)
      	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      	at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
      	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97)
      	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
      	at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
      	at java.base/java.security.AccessController.doPrivileged(Native Method)
      	at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87)
      	at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
      	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:136)
      [catch] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      	at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      	at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      	at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      	at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
      

       

      Attachments

        1. messages.log
          380 kB
          Aldo Brucale

        Activity

          People

            Unassigned Unassigned
            aldobrucale Aldo Brucale
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: