Community
Participate
Working Groups
EcoreUIUtil.openEditor(IWorkbenchPage page, Object object, int openStrategy) tries to set the selection in the opened editor to the object. However, it does not handle when the viewer for the previously opened editor is not found, as a result an NPE is thrown. I recommend to not throw an NPE when the viewer is not found. Similarly when the editor is not found, or when the editor does not implement the IViewerProvider.
This issue will be migrated to gitlab.