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

Exception while right click on folder in Files view

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 10.0
    • None
    • java - Refactoring
    • None
    • NetBeans 10.0 vc5
      Windows 7
      OpenJDK 11

    Description

      I right clicked a folder in the Files view in order to create a new file but no context menu showed up.

      The following exception appeared in the Notifications view:

       

      java.lang.NoClassDefFoundError: org/netbeans/api/java/source/TreePathHandle
       at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider.canRename(RefactoringActionsProvider.java:149)
       at org.netbeans.modules.refactoring.api.impl.ActionsImplementationFactory.canRename(ActionsImplementationFactory.java:50)
       at org.netbeans.modules.refactoring.spi.impl.RSMDataObjectAction.createContextAwareInstance(RSMDataObjectAction.java:76)
       at org.openide.util.Utilities.actionsToPopup(Utilities.java:1694)
       at org.openide.util.Utilities.actionsToPopup(Utilities.java:1790)
       at org.openide.explorer.view.TreeView.createPopup(TreeView.java:1017)
       at org.openide.explorer.view.TreeView$PopupAdapter.showPopup(TreeView.java:1514)
       at org.openide.awt.MouseUtils$PopupMouseAdapter.maybePopup(MouseUtils.java:164)
       at org.openide.awt.MouseUtils$PopupMouseAdapter.mouseReleased(MouseUtils.java:159)
       at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:298)
       at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
       at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
       at java.desktop/java.awt.Component.processMouseEvent(Component.java:6632)
       at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
       at java.desktop/java.awt.Component.processEvent(Component.java:6397)
       at java.desktop/java.awt.Container.processEvent(Container.java:2263)
       at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5008)
       at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
       at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
       at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
       at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
       at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
       at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
       at java.desktop/java.awt.Component.dispatchEvent(Component.java:4840)
       at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
       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:85)
       at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
       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:85)
       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)
      

      Project was a clone of https://github.com/ArturWisniewski/NB-Thymeleaf-Code-Completion a NetBeans plugin where I right clicked on test/unit/src folder in Files view

      Attachments

        Activity

          People

            Unassigned Unassigned
            AlexFalappa Alessandro Falappa
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: