Can’t find IDfind.ext exception

Whilst migrating OpenChrom to the new Eclipse e4 application platform, I’ve encountered an exception, which was hard to resolve. All 3.x editors couldn’t be opened within the first try, curiously. Instead, an error was displayed:

Editor 3.x - e4

An exception

org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: can’t find IDfind.ext

was thrown. Finally, I’ve found a solution how to handle this issue. It works fine now, after adding the workbench action constant in the ApplicationActionBarAdvisor.java class.

protected void fillMenuBar(IMenuManager menuBar) {
	MenuManager editMenu = new MenuManager("&Edit", IWorkbenchActionConstants.M_EDIT);
	editMenu.add(new GroupMarker(IWorkbenchActionConstants.FIND_EXT));
}

Exist

Advertisements

About Philip Wenig

Founder of OpenChrom
This entry was posted in Uncategorized. Bookmark the permalink.

4 Responses to Can’t find IDfind.ext exception

  1. Dan Tololoi says:

    thanks

  2. kar says:

    thanks a lot you saved me 🙂

  3. bobbledople says:

    I think you are missing an instruction at the end of the method. This only works for me if I put “menuBar.add(editMenu);”

  4. alaa says:

    Thanks it works 😀

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s