Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » can't find IDgroup.new
can't find IDgroup.new [message #809811] Wed, 29 February 2012 09:38 Go to next message
paolo russian is currently offline paolo russianFriend
Messages: 81
Registered: July 2009
Member
hi there. I've got a strange bug on one of my views, that raises a "java.lang.IllegalArgumentException: can't find IDgroup.new"
each time i right-click or interact with one of my views that contains a common navigator (cnf tree etc). the full stacktrace does not mention at all any of our custom classes, and if I drill down in debug the call stack, no code of ours that can suggest me any fix for that.
I never did a contribution named "group.new", but I can see that is declared in
ICommonMenuConstant.class (jface embedded classes) at line:

public static final String GROUP_NEW = "group.new"; //$NON-NLS-1$

and phisically added in a class (always from jface, not mine at all) called "NewActionProvider"

with line:

menu.insertAfter(ICommonMenuConstants.GROUP_NEW, submenu);

after this line some plugin (can't see in debug which one, shows as an eclipse core error). raises the error.


I'm porting my workspace from an Europa version to an Indigo one, and the error was there before since ages, but wasn't blocking. Now that I got some tweaks to make everything work with Indigo, I fear that this can be the cause of many other minor bugs I've got.
Has any other encountered this "group.new" issue on their common navigator framework plugin contributions?

I'd really like to get rid of this sickness I'm stuck with since too long.


Full stacktrace here:
!ENTRY org.eclipse.ui.navigator 4 0 2012-02-29 10:25:33.041
!MESSAGE can't find IDgroup.new
!STACK 0
java.lang.IllegalArgumentException: can't find IDgroup.new
at org.eclipse.jface.action.ContributionManager.insertAfter(ContributionManager.java:334)
at org.eclipse.ui.internal.navigator.resources.actions.NewActionProvider.fillContextMenu(NewActionProvider.java:123)
at org.eclipse.ui.navigator.NavigatorActionService$2.run(NavigatorActionService.java:221)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.navigator.NavigatorActionService.addCommonActionProviderMenu(NavigatorActionService.java:216)
at org.eclipse.ui.navigator.NavigatorActionService.fillContextMenu(NavigatorActionService.java:173)
at org.eclipse.ui.navigator.CommonNavigatorManager.fillContextMenu(CommonNavigatorManager.java:260)
at org.eclipse.ui.navigator.CommonNavigatorManager$4.menuAboutToShow(CommonNavigatorManager.java:275)
at org.eclipse.jface.action.MenuManager.fireAboutToShow(MenuManager.java:342)
at org.eclipse.jface.action.MenuManager.handleAboutToShow(MenuManager.java:473)
at org.eclipse.jface.action.MenuManager.access$1(MenuManager.java:469)
at org.eclipse.jface.action.MenuManager$2.menuShown(MenuManager.java:495)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:247)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
at org.eclipse.swt.widgets.Control.WM_INITMENUPOPUP(Control.java:4881)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4557)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:341)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1610)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:2061)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method)
at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:256)
at org.eclipse.swt.widgets.Display.runPopups(Display.java:4206)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3748)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Re: can't find IDgroup.new [message #809814 is a reply to message #809811] Wed, 29 February 2012 09:40 Go to previous messageGo to next message
Aurélien Pupier is currently offline Aurélien PupierFriend
Messages: 637
Registered: July 2009
Location: Grenoble, FRANCE
Senior Member

Hi,

what is the relation to GMF?

Regards,


Aurélien Pupier - Red Hat
Senior Software Engineer in Fuse Tooling team
Re: can't find IDgroup.new [message #809817 is a reply to message #809814] Wed, 29 February 2012 09:45 Go to previous message
paolo russian is currently offline paolo russianFriend
Messages: 81
Registered: July 2009
Member
what is the relation to GMF?
It's what I wish to understand, actually...


well I've got a series of views generated from an ecore model, and contributions to other gmf-unrelated views are strongly bound to each other. But apart from that I used to find good suggestions on plugin issues and model driven generation in this group some years ago.

[Updated on: Wed, 29 February 2012 09:50]

Report message to a moderator

Previous Topic:Figures for subclasses in GMF editor
Next Topic:images and gmf
Goto Forum:
  


Current Time: Fri Apr 26 15:08:40 GMT 2024

Powered by FUDForum. Page generated in 0.03943 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top