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 154709 - AssertionError: Got null return from getMenuPresenter in org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction@1ea76d
Summary: AssertionError: Got null return from getMenuPresenter in org.netbeans.modules...
Status: VERIFIED WORKSFORME
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@editor
URL: http://statistics.netbeans.org/except...
Keywords:
: 157896 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-05 11:14 UTC by Petr Dvorak
Modified: 2009-04-12 18:16 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 143952


Attachments
stacktrace (2.56 KB, text/plain)
2008-12-05 11:14 UTC, Petr Dvorak
Details
stacktrace (2.57 KB, text/plain)
2009-04-12 18:16 UTC, ahleong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Dvorak 2008-12-05 11:14:13 UTC
Build: NetBeans IDE Dev (Build 081204)
VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26
OS: Linux, 2.6.27-10-generic, i386

User Comments:
joshis: fresh Ergonomic build 081204: I created a Java Application, then I created a new "sh" file (new file>empty file, newfile.sh) in the project and opened the main menu.



Stacktrace: 
java.lang.AssertionError: Got null return from getMenuPresenter in org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction@1ea76d
        at org.netbeans.modules.editor.MainMenuAction.setMenu(MainMenuAction.java:191)
        at org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction.setMenu(IntroduceAction.java:172)
        at org.netbeans.modules.editor.MainMenuAction.stateChanged(MainMenuAction.java:109)
        at org.netbeans.editor.Registry.fireChange(Registry.java:532)
        at org.netbeans.editor.Registry.activate(Registry.java:274)
        at org.netbeans.editor.EditorUI$1.focusGained(EditorUI.java:280)
Comment 1 Petr Dvorak 2008-12-05 11:14:22 UTC
Created attachment 74588 [details]
stacktrace
Comment 2 Petr Dvorak 2008-12-05 11:15:41 UTC
There should be "project and opened OPTIONS FROM the main menu." in the desc...
Comment 3 Petr Dvorak 2008-12-05 11:25:02 UTC
Adding jtulach to CC, the problem was in ergonomic build (btw: see the "Tools" menu when it is invoked for the first
time after creating a new Java App + sh file in it)...
Comment 4 Petr Dvorak 2009-02-05 12:25:52 UTC
Not reproducible anymore in build from today, closing as WORKSFORME.
Comment 5 Petr Dvorak 2009-02-05 12:26:54 UTC
Verified
Comment 6 Max Sauer 2009-02-09 14:17:49 UTC
*** Issue 157896 has been marked as a duplicate of this issue. ***
Comment 7 ahleong 2009-04-12 18:16:15 UTC
Build: NetBeans IDE Dev (Build 200903170201)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Windows XP, 5.1, x86

User Comments: 


Stacktrace: 
java.lang.AssertionError: Got null return from getMenuPresenter in org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction@1b8b352
        at org.netbeans.modules.editor.MainMenuAction.setMenu(MainMenuAction.java:198)
        at org.netbeans.modules.java.hints.introduce.IntroduceAction$GlobalAction.setMenu(IntroduceAction.java:172)
        at org.netbeans.modules.editor.MainMenuAction.stateChanged(MainMenuAction.java:116)
        at org.netbeans.editor.Registry.fireChange(Registry.java:532)
        at org.netbeans.editor.Registry.activate(Registry.java:274)
        at org.netbeans.editor.EditorUI$1.focusGained(EditorUI.java:280)
Comment 8 ahleong 2009-04-12 18:16:25 UTC
Created attachment 79951 [details]
stacktrace