2012-02-02 100 views
1

我已經安裝在Eclipse和大約一個星期前,不少插件,我開始得到這個彈出-P窗口隨時單擊一個行號去到該行的代碼:有誰知道如何擺脫這個日食錯誤窗口?

enter image description here

在很多情況下,它阻止我去特定的路線。有誰知道是什麼導致這個錯誤,如果/我如何解決它?

我在最新的64位版本的Ubuntu中運行Eclipse,完全更新。

在此先感謝

忘記上傳錯誤日誌:

enter image description here

發現張貼堆棧跟蹤的要求:

java.lang.NoSuchMethodError: org.eclipse.jdt.core.ISourceReference.getNameRange()Lorg/eclipse/jdt/core/ISourceRange; 
    at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.setSelection(JavaEditor.java:2329) 
    at org.eclipse.jdt.internal.ui.javaeditor.JavaEditor.doSelectionChanged(JavaEditor.java:2408) 
    at org.eclipse.jdt.internal.ui.javaeditor.JavaOutlinePage$3.linkToEditor(JavaOutlinePage.java:1018) 
    at org.eclipse.ui.OpenAndLinkWithEditorHelper$InternalListener.selectionChanged(OpenAndLinkWithEditorHelper.java:57) 
    at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:888) 
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) 
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49) 
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175) 
    at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:886) 
    at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1226) 
    at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1251) 
    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:262) 
    at org.eclipse.jface.util.OpenStrategy.access$5(OpenStrategy.java:256) 
    at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:433) 
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135) 
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3563) 
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3212) 
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2696) 
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2660) 
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2494) 
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:674) 
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:667) 
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123) 
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) 
    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:344) 
    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:622) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386) 
+2

「查看日誌以瞭解更多詳情」...詳情是什麼?你不能只是禁用該插件?你聯繫過插件開發人員嗎? – m0skit0 2012-02-02 09:33:38

+2

只要罪魁禍首插件在插件文件夾中,就很難擺脫這些錯誤。重新安裝eclipse可能是唯一的選擇。 – kosa 2012-02-02 09:36:23

+3

Pl。從日誌中發佈stacktrace以瞭解確切的問題 – 2012-02-02 09:47:10

回答

3

我看來像的版本有些罐子不合格。嘗試幫助>檢查更新;帶來一切,平臺和插件,最新可能會使事情再次發生。

可能值得檢查文件系統權限是否設置正確以允許更新;你需要對Eclipse安裝中的所有文件和文件夾進行寫入訪問(當然不是全部,但是很多都是)。如果權限問題阻止了更新,它可能無法完全停止。

+0

據我所知,程序和系統完全是最新的,但是你知道我應該檢查哪些文件夾的權限嗎?我擁有基本的eclipse文件和文件夾的所有權限,但是我找不到插件文件夾 – NotACleverMan 2012-02-02 14:33:45

+0

Eclipse安裝中的'plugins'文件夾下還會多出一個文件夾。例如,我在'/ opt/eclipse/eclipse-jee-indigo/eclipse'上有Eclipse二進制文件,插件位於'/opt/eclipse/eclipse-jee-indigo/plugins/org.moreunit_2.4.2。 jar'。 – 2012-02-02 21:09:53

相關問題