Project: Eclipse_Platform_UI
Bug 331062 NPE with EModelService's getElementLocation(MUIElement) on a model within a perspective that's not under the application
Reported: 2010-11-24 16:04:26 | Status: resolved fixed

java.lang.NullPointerException at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.getElementLocation(ModelServiceImpl.java:740)

Files changed in fix:
bundles/org.eclipse.e4.ui.workbench/src/org/eclipse/e4/ui/internal/workbench/ModelServiceImpl.java tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/application/EModelServiceTest.java