Re: [Viplugin-user] getting message "An error has occurred when creating this editor"
Brought to you by:
midramas
|
From: Kristian A. <kri...@pr...> - 2003-07-31 09:29:24
|
I suppose this is because viPlugin depends on features introduced in Eclipse version 2.1. By upgrading your Eclipse, you should get vi to work. Kristian Mozaffar Ahmed wrote: > I am using Eclipse version 2.0.2 with > vi plugin 0.1.19 on linux box /jdk 1.4 > > I have not been able to use the vi editor. > > > 1. I get the following error when I try to > open a file (e.g .java) assoicated with > vi editor > An error has occurred when creating this editor > > 2. When I hit the vi load button on the toolbar > I get the following error on the shell running eclipse > Reason: > org.eclipse.ui.IEditorSite.getActionBars()Lorg/eclipse/ui/IActionBars; > > 3. Looking at Help-->Configuration, I see the following error > > !ENTRY org.eclipse.ui 4 4 Jul 29, 2003 18:45:29.383 > !MESSAGE Unhandled exception caught in event loop. > !ENTRY org.eclipse.ui 4 0 Jul 29, 2003 18:45:29.401 > !MESSAGE org.eclipse.ui.IEditorSite.getActionBars()Lorg/eclipse/ui/IActionBars; > !STACK 0 > java.lang.NoSuchMethodError: org.eclipse.ui.IEditorSite.getActionBars()Lorg/eclipse/ui/IActionBars; > at viPlugin.ViLayer.<init>(ViLayer.java:247) > at viPlugin.actions.ViToggleAction.newViLayer(ViToggleAction.java:65) > at viPlugin.actions.ViToggleAction.run(ViToggleAction.java:43) > at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:210) > at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:180) > at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:407) > at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:361) > at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:352) > at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:47) > at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) > at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:826) > at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1379) > at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1223) > at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1343) > at org.eclipse.ui.internal.Workbench.run(Workbench.java:1326) > at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:831) > at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) > 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:324) > at org.eclipse.core.launcher.Main.basicRun(Main.java:247) > at org.eclipse.core.launcher.Main.run(Main.java:703) > at org.eclipse.core.launcher.Main.main(Main.java:539) > > > I would appreciate if anyone can suggest how I can get vi to work > with Eclipse. > > - Moz > __________________________________________________________________________ This message and its attachments have been found clean from known viruses with three different antivirus programs. __________________________________________________________________________ |