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 26726 - Context menu on NodeAction in editor -> IllegalArgumentException
Summary: Context menu on NodeAction in editor -> IllegalArgumentException
Status: CLOSED DUPLICATE of bug 26806
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Svata Dedic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-08-23 05:04 UTC by _ briansmith
Modified: 2007-09-26 09:14 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 _ briansmith 2002-08-23 05:04:27 UTC
I am developing a netbeans module. I noticed that
whenever I right-click on the class
"org.openide.util.actions.NodeAction" in the text
editor (e.g. "public class
ImportIntoRepositoryAction extends NodeAction",
right click on "NodeAction"), the context menu
will not open an an IllegalArgumentException is
reported. 

Based on the fact that the
IllegalArgumentException has a class with the name
".Patch" in it, I am thinking it might be related
to issue 26126? Notice also the ".." in
"org.openide.util.actions..SystemAction.Patch"

java.lang.IllegalArgumentException:
org.openide.util.actions..SystemAction.Patch
.
        at
org.openide.src.Identifier.initNamePos(Identifier.java:86)
        at
org.openide.src.Identifier.create(Identifier.java:129)
        at
org.netbeans.modules.clazz.ClassElementImpl.createName(ClassElementIm
pl.java:102)
        at
org.netbeans.modules.clazz.MemberElementImpl.getName(MemberElementImp
l.java:66)
        at
org.openide.src.MemberElement.getName(MemberElement.java:81)
        at
org.netbeans.modules.editor.java.NbJavaSyntaxSupport.openViaClass(NbJ
avaSyntaxSupport.java:638)
        at
org.netbeans.modules.editor.java.NbJavaSyntaxSupport.openSource(NbJav
aSyntaxSupport.java:514)
        at
org.netbeans.modules.editor.java.JavaKit$JavaGotoSourceAction.openSou
rce(JavaKit.java:663)
        at
org.netbeans.modules.editor.java.JavaKit$JavaGotoSourceAction.getPopu
pMenuText(JavaKit.java:688)
        at
org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.getItemText(ExtKi
t.java:272)
        at
org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.addAction(ExtKit.
java:241)
        at
org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.addAct
ion(NbEditorKit.java:296)
        at
org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.buildPopupMenu(Ex
tKit.java:216)
        at
org.netbeans.modules.editor.NbEditorKit$NbBuildPopupMenuAction.buildP
opupMenu(NbEditorKit.java:207)
        at
org.netbeans.editor.ext.ExtKit$BuildPopupMenuAction.actionPerformed(E
xtKit.java:198)
        at
org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:137)
        at
org.netbeans.editor.ext.ExtEditorUI.showPopupMenu(ExtEditorUI.java:13
9)
        at
org.netbeans.editor.ext.ExtCaret.showPopup(ExtCaret.java:361)
        at
org.netbeans.editor.ext.ExtCaret.mouseReleased(ExtCaret.java:368)
        at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
28)
        at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
27)
        at
java.awt.Component.processMouseEvent(Component.java:5093)
        at
java.awt.Component.processEvent(Component.java:4890)
        at
java.awt.Container.processEvent(Container.java:1566)
        at
java.awt.Component.dispatchEventImpl(Component.java:3598)
        at
java.awt.Container.dispatchEventImpl(Container.java:1623)
        at
java.awt.Component.dispatchEvent(Component.java:3439)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450
)
        at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)

        at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
        at
java.awt.Container.dispatchEventImpl(Container.java:1609)
        at
java.awt.Window.dispatchEventImpl(Window.java:1585)
        at
java.awt.Component.dispatchEvent(Component.java:3439)
        at
java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
[catch] at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:197)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:150)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)

        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)

        at
java.awt.EventDispatchThread.run(EventDispatchThread.java:99)
Comment 1 Svata Dedic 2002-09-20 13:30:18 UTC

*** This issue has been marked as a duplicate of 26806 ***
Comment 2 Marian Mirilovic 2003-07-22 13:14:33 UTC
verified, closed - it's duplicate.
Comment 3 Quality Engineering 2007-09-20 09:52:11 UTC
Reorganization of java component