2011-10-13 113 views
0

我已经将Aptana作为Eclipse插件(全新安装)进行了全新安装。在Eclipse上使用Aptana时Ruby的内容协助失败

我怀疑这可能是一个重复的键绑定(很可能是一个bug),但在线信息是稀疏的。

  • 的Eclipse:3.5.2-8ubuntu3
  • 集锦:3.0.5.201110061700-7
  • 的Ubuntu 11.04,内核2.6.38-11-通用

会话数据:

  • eclipse.buildId = M20100211-1343
  • java.version = 1.6.0_22
  • java.vendor = Sun Microsystems公司
  • BootLoader的常数:OS = Linux中,ARCH = x86_64的,WS = GTK,NL = en_NZ
  • 命令行参数:-OS Linux的-ws GTK -arch x86_64的

对于Python脚本,这通常看起来好(现在)。 我开始使用一个新的Ruby脚本,定义一个对象后跟一个“。”。 &尝试调用内容通过带有以下弹出错误Ctrl +空格键击&帮助:提供

"Content Assist" did not complete normally. Please see the log for more information.

model is already installed

这个堆栈跟踪:

java.lang.IllegalStateException: model is already installed 
at org.eclipse.jface.text.link.LinkedModeModel.addGroup(LinkedModeModel.java:413) 
at com.aptana.editor.common.scripting.snippets.SnippetTemplateProposal.doApply(SnippetTemplateProposal.java:277) 
at com.aptana.editor.common.scripting.snippets.SnippetTemplateProposal.apply(SnippetTemplateProposal.java:123) 
at com.aptana.editor.common.contentassist.CompletionProposalPopup.insertProposal(CompletionProposalPopup.java:912) 
at com.aptana.editor.common.contentassist.CompletionProposalPopup.completeCommonPrefix(CompletionProposalPopup.java:1915) 
at com.aptana.editor.common.contentassist.CompletionProposalPopup.incrementalComplete(CompletionProposalPopup.java:1829) 
at com.aptana.editor.common.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1992) 
at org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:835) 
at org.eclipse.jface.text.source.projection.ProjectionViewer.doOperation(ProjectionViewer.java:1533) 
at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) 
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) 
at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) 
at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) 
at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) 
at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) 
at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) 
at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) 
at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) 
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:470) 
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:824) 
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:880) 
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:569) 
at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:510) 
at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:125) 
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) 
at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1467) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1175) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1200) 
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1185) 
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1212) 
at org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:706) 
at org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:2837) 
at org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:703) 
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1570) 
at org.eclipse.swt.widgets.Control.windowProc(Control.java:4594) 
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4191) 
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) 
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:7603) 
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1185) 
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) 
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1860) 
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3110) 
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) 
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) 
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) 
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) 
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) 
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) 
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) 
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) 
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 
at java.lang.reflect.Method.invoke(Method.java:616) 
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) 
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) 
at org.eclipse.equinox.launcher.Main.run(Main.java:1311) 
at org.eclipse.equinox.launcher.Main.main(Main.java:1287) 

回答