Community
Participate
Working Groups
Build Identifier: 20100917-0705 If an EEF Editor is contributed without an ActionBarContributor being used, a Null Pointer Exception is thrown with the following stack trace : java.lang.NullPointerException at org.eclipse.emf.eef.runtime.ui.editor.InteractiveEEFEditor.getActionBars(InteractiveEEFEditor.java:1140) at org.eclipse.emf.eef.runtime.ui.editor.InteractiveEEFEditor.setStatusLineManager(InteractiveEEFEditor.java:1083) at org.eclipse.emf.eef.runtime.ui.editor.InteractiveEEFEditor.setSelection(InteractiveEEFEditor.java:1076) at org.eclipse.emf.eef.runtime.ui.editor.InteractiveEEFEditor.handleActivate(InteractiveEEFEditor.java:280) at org.eclipse.emf.eef.runtime.ui.editor.InteractiveEEFEditor$1.partActivated(InteractiveEEFEditor.java:175) at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72) ... The contributorClass field in the Editor extension isn't mandatory however, the code of getActionBars seems to assume it is. Reproducible: Always Steps to Reproduce: 1. Generate a one-click EEF editor 2. erase the contributorClass field in the Editor extension in the plugin.xml 3. Launch an eclipse and open an editor.
The Eclipse EEF team has worked over the past few months on a brand new runtime using a reflective approach which can be used more easily with Eclipse Sirius. Since we do not plan to continue to work on the old runtime and its code generation approach, I will close this issue for now. If you want to contribute, you can reopen this issue and submit a contribution to the project thanks to our Gerrit: https://git.eclipse.org/r/#/admin/projects/eef/org.eclipse.eef