Project: JDT
Bug 66244 [misc] OverrideIndicator failed to install
Reported: 2004-06-09 00:36:32 | Status: verified fixed

Using 200406082000 I opened CompilationUnitEditor but pick any CVS resource. Use Team -> Show annotation, and you will get the following: !MESSAGE Editor could not be initialized. !STACK 0 org.eclipse.jface.util.Assert$AssertionFailedException: null argument; at java.lang.Throwable.<init>(Throwable.java) at org.eclipse.jface.util.Assert$AssertionFailedException.<init> (Assert.java:54) at org.eclipse.jface.util.Assert.isNotNull(Assert.java:139) at org.eclipse.jface.util.Assert.isNotNull(Assert.java) at org.eclipse.jface.util.ListenerList.add(ListenerList.java) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.addReconcileListen er(CompilationUnitEditor.java:1769) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.installOverrideInd icator(CompilationUnitEditor.java:1496) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.internalDoSetInput (JavaEditor.java:2735) at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSetInput (JavaEditor.java:2702) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor.doSetInput (CompilationUnitEditor.java:1485) at org.eclipse.ui.texteditor.AbstractTextEditor$14.run (AbstractTextEditor.java:2187) at org.eclipse.jface.operation.ModalContext.runInCurrentThread (ModalContext.java:303) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java) at org.eclipse.jface.window.ApplicationWindow$1.run (ApplicationWindow.java:576) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java) at org.eclipse.jface.window.ApplicationWindow.run (ApplicationWindow.java:573) at org.eclipse.ui.internal.WorkbenchWindow.run (WorkbenchWindow.java:1622) at org.eclipse.ui.texteditor.AbstractTextEditor.internalInit (AbstractTextEditor.java:2201) at org.eclipse.ui.texteditor.AbstractTextEditor.init (AbstractTextEditor.java:2219) at org.eclipse.ui.internal.EditorManager.createSite (EditorManager.java:721) at org.eclipse.ui.internal.EditorManager.openInternalEditor (EditorManager.java:780) at org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor (EditorManager.java:585) at org.eclipse.ui.internal.EditorManager.openEditor (EditorManager.java:573) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched (WorkbenchPage.java:2187) at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor (WorkbenchPage.java:2120) at org.eclipse.ui.internal.WorkbenchPage.access$6 (WorkbenchPage.java:2112) at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2099) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java) at org.eclipse.ui.internal.WorkbenchPage.openEditor (WorkbenchPage.java:2094) at org.eclipse.ui.internal.WorkbenchPage.openEditor (WorkbenchPage.java:2077) at org.eclipse.team.internal.ccvs.ui.AnnotateView.openEditor (AnnotateView.java:354) at org.eclipse.team.internal.ccvs.ui.AnnotateView.showAnnotations (AnnotateView.java:139) at org.eclipse.team.internal.ccvs.ui.AnnotateView.showAnnotations (AnnotateView.java:100) at org.eclipse.team.internal.ccvs.ui.actions.ShowAnnotationAction.execute (ShowAnnotationAction.java:88) at org.eclipse.team.internal.ccvs.ui.actions.ShowAnnotationAction.execute (ShowAnnotationAction.java:42) at org.eclipse.team.internal.ccvs.ui.actions.CVSAction.run (CVSAction.java:70) at org.eclipse.ui.actions.ActionDelegate.runWithEvent (ActionDelegate.java:71) at org.eclipse.ui.internal.PluginAction.runWithEvent (PluginAction.java:266) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:915) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java) at org.eclipse.jface.action.ActionContributionItem$7.handleEvent (ActionContributionItem.java) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1362) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1333) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:252) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:96) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:334) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:272) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:128) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:58) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:60) at java.lang.reflect.Method.invoke(Method.java:391) at org.eclipse.core.launcher.Main.basicRun(Main.java:185) at org.eclipse.core.launcher.Main.run(Main.java:638) at org.eclipse.core.launcher.Main.main(Main.java:622)

Files changed in fix:
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/CompilationUnitEditor.java