Community
Participate
Working Groups
1. Use the org.eclipse.ui.menus snippet below. 2. Run in 3.x. 3. Open the 'Progress' view, the class is not loaded. 4. Try the same thing in 4.x, the class is loaded. <menuContribution locationURI="popup:org.eclipse.ui.popup.any"> <dynamic class="test.ContributionItemImpl" id="test.contributionItemImpl"> </dynamic> </menuContribution> Thread [main] J9VMInternals.sendClassPrepareEvent(Class) line: not available [native method] J9VMInternals.prepare(Class) line: 452 J9VMInternals.initialize(Class) line: 137 J9VMInternals.newInstanceImpl(Class) line: not available [native method] Class<T>.newInstance() line: 1325 EquinoxRegistryStrategy(RegistryStrategyOSGI).createExecutableExtension(RegistryContributor, String, String) line: 184 ExtensionRegistry.createExecutableExtension(RegistryContributor, String, String) line: 905 ConfigurationElement.createExecutableExtension(String) line: 243 ConfigurationElementHandle.createExecutableExtension(String) line: 55 Util.safeLoadExecutableExtension(IConfigurationElement, String, Class) line: 873 DynamicMenuContributionItem.createContributionItem() line: 150 DynamicMenuContributionItem.getContributionItem() line: 143 DynamicMenuContributionItem.fill(Menu, int) line: 123 MenuManager.doItemFill(IContributionItem, int) line: 737 MenuManager.update(boolean, boolean) line: 818 MenuManager.update(boolean) line: 678 MenuManagerRenderer.processContents(MElementContainer<MUIElement>) line: 505 MenuService.registerMenu(Control, MPopupMenu, MPart) line: 74 PopupMenuExtender.registerE4Support() line: 179 PopupMenuExtender.createModelFor(String) line: 174 PopupMenuExtender.<init>(String, MenuManager, ISelectionProvider, IWorkbenchPart, boolean) line: 145 PartSite.registerContextMenu(String, MenuManager, ISelectionProvider, boolean, IWorkbenchPart, Collection) line: 127 ViewSite(PartSite).registerContextMenu(String, MenuManager, ISelectionProvider) line: 475 ViewSite(PartSite).registerContextMenu(MenuManager, ISelectionProvider) line: 484 ProgressView.initContextMenu() line: 109 ProgressView.createPartControl(Composite) line: 67 CompatibilityView(CompatibilityPart).createPartControl(IWorkbenchPart, Composite) line: 114
Does this have anything to do with why it sometimes takes an extremely long time (i.e. minutes) to open a context menu in Eclipse 4.2 on my Win XP machine?
(In reply to comment #1) > Does this have anything to do with why it sometimes takes an extremely long > time (i.e. minutes) to open a context menu in Eclipse 4.2 on my Win XP machine? Unlikely. Carolyn, if your Eclipse freezes, please get a thread dump. I've helped Grant get a thread dump before, talk to him if you need assistance here. If you're selecting stuff in Git, you may be seeing bug 359433. Once you get a thread dump, feel free to attach it here and I'll take a look, thanks.
I'm just selecting org.eclipse.swt project in the Package Explorer, and then right clicking and waiting for the context menu. I'll try to get a stack dump. Yes, git is installed... and it does contribute to the Team menu of a project. So very possible that it is causing the problem. Yes, I think it is the same as bug 359433. I will comment in that bug if I have anything further to offer.
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug. If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant. -- The automated Eclipse Genie.