Project: Eclipse_Platform_UI
Bug 360232 Eclipse gets into an infinite error loop after saving a perspective with a view in it
Reported: 2011-10-07 09:40:13 | Status: verified fixed

1. DND a view into the shared area. 2. Save the perspective. 3. Try to activate the view in the shared area. You're not in an infinite error loop. Caused by: java.lang.NullPointerException at org.eclipse.e4.ui.model.internal.ModelUtils.getContainingContext(ModelUtils.java:148) at org.eclipse.e4.ui.internal.workbench.ModelServiceImpl.getContainingContext(ModelServiceImpl.java:234) at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.getContextForParent(AbstractPartRenderer.java:76) at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.getContext(AbstractPartRenderer.java:90) at org.eclipse.e4.ui.internal.workbench.swt.AbstractPartRenderer.activate(AbstractPartRenderer.java:100) at org.eclipse.e4.ui.workbench.renderers.swt.StackRenderer$ActivationJob.run(StackRenderer.java:168) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) ... 24 more

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