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.
This issue was reported manually by alexvsimon. It already has 1 duplicates Build: NetBeans IDE 8.0 (Build 201403101706) VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13 OS: Windows 7 User Comments: GUEST: Rightclick on C/C++ project throws this error instead of showing the rightclickmenu. I tried to compile after copy/pasting code to a preexisting file which failed because of the missing -std=c++11 parameter.. Now there seems to be no way to set it...? It previously complained that the VCC4N plugin (which is supposed to make it easy to use the ms vcpp compiler in netbeans) needs to update a kit-/toolchain which it couldn't do so i uninstalled/removed it and restarted but the error persisted. Stacktrace: java.lang.NullPointerException at org.netbeans.modules.cnd.modelui.switcher.CodeAssistanceSubmenuAction$LazyPopupMenu.getPopupMenu(CodeAssistanceSubmenuAction.java:107) at com.jidesoft.plaf.vsnet.VsnetMenuUI.installListeners(VsnetMenuUI.java:0) at com.jidesoft.plaf.vsnet.VsnetMenuItemUI.installUI(VsnetMenuItemUI.java:0) at javax.swing.JComponent.setUI(JComponent.java:663) at javax.swing.AbstractButton.setUI(AbstractButton.java:1810) at javax.swing.JMenuItem.setUI(JMenuItem.java:241)
Created attachment 147233 [details] stacktrace
Please file a bug against jidesoft. It seems virtual method "getPopupMenu()" is called in the constructor of the class LazyPopupMenu. It is a bug. VsnetMenuUI should not call virtual method in constructor.
Integrated into 'main-silver', will be available in build *201405140001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/918bb38fea2b User: Alexander Simon <alexvsimon@netbeans.org> Log: work around Bug 244444 NullPointerException at org.netbeans.modules.cnd.modelui.switcher.CodeAssistanceSubmenuAction$LazyPopupMenu.getPopupMenu
Integrated into 'releases/release80', will be available in build *201406041415* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/bb9f0935c360 User: Alexander Simon <alexvsimon@netbeans.org> Log: work around Bug 244444 NullPointerException at org.netbeans.modules.cnd.modelui.switcher.CodeAssistanceSubmenuAction$LazyPopupMenu.getPopupMenu (transplanted from 918bb38fea2b098245a3b73d264a4b4695005937)