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.
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)
Created attachment 74588 [details] stacktrace
There should be "project and opened OPTIONS FROM the main menu." in the desc...
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)...
Not reproducible anymore in build from today, closing as WORKSFORME.
Verified
*** Issue 157896 has been marked as a duplicate of this issue. ***
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)
Created attachment 79951 [details] stacktrace