2014-05-08 51 views
0

我下載了最後的Eclipse Helios版本並將其設置爲與GIT一起使用。 我也下載並安裝了最新的JAVA JRE8。Eclipse:比較 - >未處理的循環異常

每次我想比較一個文件與GIT索引(右鍵單擊文件 - 比較 - Git索引)我得到一個eclipse異常,並彈出一個'編輯器',沒有內容。

我安裝的Java或Eclipse有什麼問題嗎?

我也不能使用 '幫助 - 檢查更新' 更新日食...

Cannot complete the install because one or more required items could not be found. 
    Software being installed: Eclipse Git Team Provider 3.3.2.201404171909-r (org.eclipse.egit.feature.group 3.3.2.201404171909-r) 
    Missing requirement: Eclipse Git Team Provider 3.3.2.201404171909-r (org.eclipse.egit.feature.group 3.3.2.201404171909-r) requires 'org.eclipse.core.runtime [3.7.0,4.0.0)' but it could not be found 

消息:未處理的異常循環

org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) 
    at org.eclipse.swt.SWT.error(SWT.java:4083) 
    at org.eclipse.swt.SWT.error(SWT.java:3998) 
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:137) 
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4041) 
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3660) 
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640) 
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604) 
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438) 
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671) 
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) 
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664) 
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) 
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) 
    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:369) 
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) 
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
    at java.lang.reflect.Method.invoke(Unknown Source) 
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) 
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) 
    at org.eclipse.equinox.launcher.Main.run(Main.java:1407) 
    at org.eclipse.equinox.launcher.Main.main(Main.java:1383) 
Caused by: java.lang.NullPointerException 
    at org.eclipse.php.internal.core.format.FormatPreferencesSupport.verifyValidity(FormatPreferencesSupport.java:100) 
    at org.eclipse.php.internal.core.format.FormatPreferencesSupport.getIndentationChar(FormatPreferencesSupport.java:89) 
    at org.eclipse.php.internal.ui.editor.configuration.PHPStructuredTextViewerConfiguration.getIndentPrefixes(PHPStructuredTextViewerConfiguration.java:448) 
    at org.eclipse.wst.sse.ui.internal.StructuredTextViewer.configure(StructuredTextViewer.java:311) 
    at org.eclipse.php.internal.ui.compare.MergeSourceViewer.configure(MergeSourceViewer.java:542) 
    at org.eclipse.php.internal.ui.compare.TextMergeViewer$ContributorInfo.internalSetDocument(TextMergeViewer.java:546) 
    at org.eclipse.php.internal.ui.compare.TextMergeViewer$ContributorInfo.setDocument(TextMergeViewer.java:434) 
    at org.eclipse.php.internal.ui.compare.TextMergeViewer.updateContent(TextMergeViewer.java:2569) 
    at org.eclipse.php.internal.ui.compare.ContentMergeViewer.internalRefresh(ContentMergeViewer.java:814) 
    at org.eclipse.php.internal.ui.compare.ContentMergeViewer.inputChanged(ContentMergeViewer.java:704) 
    at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274) 
    at org.eclipse.compare.CompareViewerSwitchingPane.setInput(CompareViewerSwitchingPane.java:276) 
    at org.eclipse.compare.internal.CompareContentViewerSwitchingPane.setInput(CompareContentViewerSwitchingPane.java:158) 
    at org.eclipse.compare.CompareEditorInput.internalSetContentPaneInput(CompareEditorInput.java:844) 
    at org.eclipse.compare.CompareEditorInput.access$8(CompareEditorInput.java:842) 
    at org.eclipse.compare.CompareEditorInput$11.run(CompareEditorInput.java:778) 
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) 
    at org.eclipse.compare.CompareEditorInput.feed1(CompareEditorInput.java:772) 
    at org.eclipse.compare.CompareEditorInput.feedInput(CompareEditorInput.java:750) 
    at org.eclipse.compare.CompareEditorInput.createContents(CompareEditorInput.java:554) 
    at org.eclipse.compare.internal.CompareEditor.createCompareControl(CompareEditor.java:456) 
    at org.eclipse.compare.internal.CompareEditor.access$6(CompareEditor.java:422) 
    at org.eclipse.compare.internal.CompareEditor$3.run(CompareEditor.java:378) 
    at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:164) 
    at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:158) 
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) 
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) 
    ... 23 more 

eclipse.buildId=M20100909-0800 
java.version=1.8.0_05 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE 
Framework arguments: -product org.eclipse.epp.package.php.product 
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.php.product -clean 
+0

無法更新消息告訴你,Eclipse 3.7是Git所需要的(Helios是3.6和嚴重老,4.3是目前與4.4即將出局)。 –

回答

0

這看起來像Eclipse的錯誤324051這是封閉的固定4多年前。看起來它需要比Helios更新的Eclipse版本。

+0

我得到了Eclipse版本開普勒,現在一切工作正常。謝謝你的幫助。 – user3616987