Community
Participate
Working Groups
build 0426-1606 (this is a special build from HEAD against EMF from 3.6.2) I am trying to run a large product on top of 4.1 and I'm getting the following StackOverFlow error when opening/closing some of the wizards and dialogs. I'll attach the full log since I'm not sure which part is the most important.
Created attachment 194176 [details] log file
This is caused by multiple subsequent requests (must be more than one) to set a global action handler for a given view. Using a selection listener like the one below will cause the infinite loop to occur. private ISelectionListener listener = new ISelectionListener() { public void selectionChanged(IWorkbenchPart part, ISelection selection) { getViewSite().getActionBars().setGlobalActionHandler( "delete", action); //$NON-NLS-1$ getViewSite().getActionBars().setGlobalActionHandler( "new", action); //$NON-NLS-1$ } }; The workaround is to delay this request (such as by using a job).
I think this is fixed with Eclipse 4.2