Project: Eclipse_Platform_UI
Bug 274618 [EditorMgmt] StackOverflowError for an editor with a NullEditorInput
Reported: 2009-04-30 19:47:34 | Status: resolved fixed

Even if I don't have exact steps to reproduce, I ran into this StackOverflowError with a very clear stack trace indicating an infinite recursion... java.lang.StackOverflowError at org.eclipse.ui.internal.EditorReference.getPart(EditorReference.java:821) at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:283) at org.eclipse.ui.internal.EditorReference.getName(EditorReference.java:277) at org.eclipse.ui.internal.part.NullEditorInput.getName(NullEditorInput.java:66) at org.eclipse.ui.internal.EditorReference.getName(EditorReference.java:277) at org.eclipse.ui.internal.part.NullEditorInput.getName(NullEditorInput.java:66) at org.eclipse.ui.internal.EditorReference.getName(EditorReference.java:277) at org.eclipse.ui.internal.part.NullEditorInput.getName(NullEditorInput.java:66) at org.eclipse.ui.internal.EditorReference.getName(EditorReference.java:277) at org.eclipse.ui.internal.part.NullEditorInput.getName(NullEditorInput.java:66) at org.eclipse.ui.internal.EditorReference.getName(EditorReference.java:277) [...]

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/EditorReference.java bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/part/NullEditorInput.java