Community
Participate
Working Groups
Build Identifier: I20120531-1500 Eclipse JUNO RC3 !SESSION 2012-06-22 22:20:08.587 ----------------------------------------------- eclipse.buildId=I20120531-1500 java.version=1.6.0_31 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US Framework arguments: -product org.eclipse.epp.package.cpp.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product !ENTRY org.eclipse.ui 4 4 2012-06-22 22:20:19.788 !MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.manageConfigsAction2 !ENTRY org.eclipse.ui 4 4 2012-06-22 22:20:19.793 !MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.buildConfigMenuAction !ENTRY org.eclipse.ui 4 4 2012-06-22 22:20:19.794 !MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.wsselection Reproducible: Couldn't Reproduce
Saw this same issue with Juno CDT release running on Ubuntu 10.4 (lucid) after upgrading from Indigo. Also, the right-click project context menu is now missing the 'Team' item on 'C' projects that were created from a CVS repository. This behavior is reproducible in the workspace upgraded from Indigo as well as with a fresh Juno workspace and newly-created 'C' project from CVS. A quick test running Juno CDT release on Ubuntu 12.4 (precise) did *not* exhibit this error message, and the right-click project context menu contains a 'Team' sub-menu as expected. This test was performed only against a small test CVS repository.
Perhaps this is a platform bug. The messages occur when you open the Customize Perspectives dialog.
This bug has been there a while, not sure of the effect.
*** Bug 442787 has been marked as a duplicate of this bug. ***
*** Bug 445116 has been marked as a duplicate of this bug. ***
*** Bug 520208 has been marked as a duplicate of this bug. ***
(In reply to Jonah Graham from comment #5) > *** Bug 445116 has been marked as a duplicate of this bug. *** Bug 445116 Comment 0 has a stack trace that may be useful?
Can't reproduce at start-up. To reproduce: 1) Clean/New Eclipse workspace 2) Open Debug Perspective 3) Window -> Perspective -> Customize Perspective and you get this output: !ENTRY org.eclipse.ui 4 4 2017-07-27 10:37:00.946 !MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.manageConfigsAction2 !ENTRY org.eclipse.ui 4 4 2017-07-27 10:37:00.950 !MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.buildConfigMenuAction !ENTRY org.eclipse.ui 4 4 2017-07-27 10:37:00.950 !MESSAGE Plug-in 'org.eclipse.cdt.ui' contributed an invalid Menu Extension (Path: 'project/org.eclipse.cdt.ui.prjmenu' is invalid): org.eclipse.cdt.ui.wsselection
I'm able to reproduce this by simply selecting "Customize..." in the default perspective. Using the Eclipse IDE for Java Developers 2019-09.
Created attachment 284883 [details] Screenshot from CDT perspective main menu, Project, with invalid contributions.
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/172815
Created attachment 284884 [details] Screenshot from CDT perspective main menu, Project, with fixed contribution menu paths. As is, the 3 invalid contributions are not visible under the main menu, Project, when in the C/C++ perspective. The contributions are visible (and hopefully placed correctly) with patch set 1 from this change: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/172815
Created attachment 284886 [details] "Missing" entries in current CDT (In reply to Simeon Andreev from comment #12) > The contributions are visible (and hopefully placed correctly) with patch > set 1 from this change: > https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/172815 I'm really not sure what was intended. I can see "missing" menus here: Project -> Build Configurations.
(In reply to Andrey Loskutov from comment #13) > I'm really not sure what was intended. > I can see "missing" menus here: Project -> Build Configurations. I didn't notice the entries in the submenu. From the slashes in the current code I expect the actions should be in submenus, but I'm not seeing submenus with the respective names? The menu contribution itself is: <menuContribution locationURI="menu:project?after=build"> <menu id="org.eclipse.cdt.ui.prjmenu" label="%Configurations.menu"> <separator name="manage" visible="false"/> <separator name="sep1" visible="true"/> <separator name="wrksets" visible="false"/> </menu> </menuContribution>
(In reply to Simeon Andreev from comment #14) > (In reply to Andrey Loskutov from comment #13) > From the slashes in the current code I expect the actions should be in > submenus, but I'm not seeing submenus with the respective names? > The menu contribution itself is: > > <menuContribution > locationURI="menu:project?after=build"> > <menu > id="org.eclipse.cdt.ui.prjmenu" I'm not a real menu expert, but I guess we have a mix of "new" menuContribution's and "old" action sets that causes the problem here. The org.eclipse.cdt.ui.prjmenu is contributed via menuContribution and the three "bad" actions via actionSet contribution.
New Gerrit change created: https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/173016
Thanks Simeon for tackling this!
Gerrit change https://git.eclipse.org/r/c/cdt/org.eclipse.cdt/+/173016 was merged to [master]. Commit: http://git.eclipse.org/c/cdt/org.eclipse.cdt.git/commit/?id=fd09187f9a4fff3bf4f18794cf994773dc8fdf28