Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: ide-integration
    • Labels:
      None
    • Environment:

      Description

      java.lang.NullPointerException: component cannot be null
      at org.netbeans.modules.editor.fold.FoldHierarchyExecution.getOrCreateFoldExecution(FoldHierarchyExecution.java:205)
      at org.netbeans.modules.editor.fold.FoldHierarchyExecution.getOrCreateFoldHierarchy(FoldHierarchyExecution.java:200)
      at org.netbeans.api.editor.fold.FoldHierarchy.get(FoldHierarchy.java:148)
      at org.netbeans.modules.editor.NbEditorKit$GenerateFoldPopupAction.addAction(NbEditorKit.java:737)
      at org.netbeans.modules.editor.NbEditorKit$GenerateFoldPopupAction.getPopupMenuItem(NbEditorKit.java:792)
      at org.netbeans.modules.editor.NbCodeFoldingAction$CodeFoldsMenu.getPopupMenu(NbCodeFoldingAction.java:166)
      at org.netbeans.modules.editor.NbCodeFoldingAction$CodeFoldsMenu.synchMenuPresenters(NbCodeFoldingAction.java:132)
      at org.openide.awt.DynaMenuModel.checkSubmenu(DynaMenuModel.java:191)
      at org.openide.awt.MenuBar$LazyMenu.setPopupMenuVisible(MenuBar.java:729)
      at javax.swing.JPopupMenu.menuSelectionChanged(JPopupMenu.java:1471)
      at javax.swing.MenuSelectionManager.setSelectedPath(MenuSelectionManager.java:118)
      at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:526)
      at javax.swing.plaf.basic.BasicMenuUI$MouseInputHandler.mouseEntered(BasicMenuUI.java:364)
      at com.sun.java.swing.plaf.windows.WindowsMenuUI$WindowsMouseInputHandler.mouseEntered(WindowsMenuUI.java:255)
      at java.awt.Component.processMouseEvent(Component.java:6514)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3321)
      at java.awt.Component.processEvent(Component.java:6270)
      at java.awt.Container.processEvent(Container.java:2229)
      at java.awt.Component.dispatchEventImpl(Component.java:4861)
      at java.awt.Container.dispatchEventImpl(Container.java:2287)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
      at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4620)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4474)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
      at java.awt.Container.dispatchEventImpl(Container.java:2273)
      at java.awt.Window.dispatchEventImpl(Window.java:2719)
      at java.awt.Component.dispatchEvent(Component.java:4687)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:729)
      at java.awt.EventQueue.access$200(EventQueue.java:103)
      at java.awt.EventQueue$3.run(EventQueue.java:688)
      at java.awt.EventQueue$3.run(EventQueue.java:686)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
      at java.awt.EventQueue$4.run(EventQueue.java:702)
      at java.awt.EventQueue$4.run(EventQueue.java:700)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:699)
      at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:159)
      [catch] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)

        Activity

        Hide
        vince kraemer added a comment -

        since there isn't any mention of glassfish in the stacktrace, it appears that this is a NB issue. You should file the issue there.

        Show
        vince kraemer added a comment - since there isn't any mention of glassfish in the stacktrace, it appears that this is a NB issue. You should file the issue there.

          People

          • Assignee:
            vince kraemer
            Reporter:
            survivant
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: