Project: Eclipse_Platform_UI
Bug 308592 [Compatibility] MPEPs with text editors are in a crippled state
Reported: 2010-04-08 21:48:03 | Status: resolved fixed

This includes SSE XML editors and PDE editors. The 'Source' tabs will not get rendered. Workaround is to just fallback to the standard text editor. This was introduced by the null return in KeyBindingService's getKeyBindingService(IWorkbenchSite) method. java.lang.NullPointerException at org.eclipse.ui.texteditor.AbstractTextEditor$ActivationCodeTrigger.setScopes(AbstractTextEditor.java:856) at org.eclipse.ui.texteditor.AbstractTextEditor.initializeActivationCodeTrigger(AbstractTextEditor.java:3633) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3390) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:429) at org.eclipse.wst.sse.ui.StructuredTextEditor.createPartControl(StructuredTextEditor.java:1449) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:243) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:213) at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.addSourcePage(XMLMultiPageEditorPart.java:493) at org.eclipse.wst.xml.ui.internal.tabletree.XMLMultiPageEditorPart.createPages(XMLMultiPageEditorPart.java:710) at org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:358) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.createPartControl(CompatibilityPart.java:102) at org.eclipse.ui.internal.e4.compatibility.CompatibilityEditor.createPartControl(CompatibilityEditor.java:52) at org.eclipse.ui.internal.e4.compatibility.CompatibilityPart.create(CompatibilityPart.java:158) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.e4.core.internal.di.MethodRequestor.callMethod(MethodRequestor.java:61) at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:35) at org.eclipse.e4.core.internal.di.InjectorImpl.processPostConstruct(InjectorImpl.java:741) at org.eclipse.e4.core.internal.di.InjectorImpl.processPostConstruct(InjectorImpl.java:717) at org.eclipse.e4.core.internal.di.InjectorImpl.inject(InjectorImpl.java:93) at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(InjectorImpl.java:294) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:245) at org.eclipse.e4.core.internal.di.InjectorImpl.make(InjectorImpl.java:237) at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(ContextInjectionFactory.java:167) at org.eclipse.e4.workbench.ui.internal.ReflectionContributionFactory.createFromBundle(ReflectionContributionFactory.java:184) at org.eclipse.e4.workbench.ui.internal.ReflectionContributionFactory.create(ReflectionContributionFactory.java:160) at org.eclipse.e4.workbench.ui.renderers.swt.ContributedPartRenderer.createWidget(ContributedPartRenderer.java:60)

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