This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 67768 - [50cat] Regrssion: Context Menu issues NoSuchMethodException when mouse cursor rests on Refactoring item
Summary: [50cat] Regrssion: Context Menu issues NoSuchMethodException when mouse curso...
Status: RESOLVED DUPLICATE of bug 67230
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 5.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-29 14:17 UTC by stroudcuster
Modified: 2007-04-03 18:02 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description stroudcuster 2005-10-29 14:17:59 UTC
[ BUILD # : 200510261858 ]
[ JDK VERSION : 1.5.0_05 ]

1. Invoke IDE
2. Open java source in editor
3. Right Click for context menu
4. Move cursor to Refactoring Item
5. Exception is issued, context menu is closed.
Note: This error does not occur in qbuild 200510131600
 
java.lang.NoSuchMethodError: org.netbeans.modules.refactoring.classpath.Util.isOnKnownClassPath(Lorg/openide/filesystems/FileObject;)Z
	at org.netbeans.modules.refactoring.experimental.ui.CleanUpAction.enabled(CleanUpAction.java:57)
	at org.netbeans.modules.refactoring.spi.ui.AbstractRefactoringAction.enable(AbstractRefactoringAction.java:186)
	at org.openide.util.actions.NodeAction.isEnabled(NodeAction.java:170)
	at javax.swing.AbstractButton.configurePropertiesFromAction(AbstractButton.java:1133)
	at javax.swing.AbstractButton.configurePropertiesFromAction(AbstractButton.java:1063)
	at javax.swing.JMenuItem.configurePropertiesFromAction(JMenuItem.java:340)
	at javax.swing.AbstractButton.setAction(AbstractButton.java:997)
	at javax.swing.JMenuItem.<init>(JMenuItem.java:108)
	at org.netbeans.modules.refactoring.ui.RefactoringSubMenuAction$SubMenu.createMenuItems(RefactoringSubMenuAction.java:126)
	at org.netbeans.modules.refactoring.ui.RefactoringSubMenuAction$SubMenu.getPopupMenu(RefactoringSubMenuAction.java:91)
	at javax.swing.plaf.basic.BasicMenuUI$Handler.mouseEntered(BasicMenuUI.java:498)
	at java.awt.Component.processMouseEvent(Component.java:5497)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
	at java.awt.Component.processEvent(Component.java:5253)
	at java.awt.Container.processEvent(Container.java:1966)
	at java.awt.Component.dispatchEventImpl(Component.java:3955)
	at java.awt.Container.dispatchEventImpl(Container.java:2024)
	at java.awt.Component.dispatchEvent(Component.java:3803)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
	at java.awt.LightweightDispatcher.trackMouseEnterExit(Container.java:4017)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3874)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
	at java.awt.Container.dispatchEventImpl(Container.java:2010)
	at java.awt.Window.dispatchEventImpl(Window.java:1774)
	at java.awt.Component.dispatchEvent(Component.java:3803)
[catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Comment 1 Roman Strobl 2005-10-31 09:38:57 UTC
Reassigning to refactoring, please evaluate. Thanks.
Comment 2 Jan Becicka 2005-10-31 09:49:47 UTC

*** This issue has been marked as a duplicate of 67230 ***