2014-09-01 87 views
14

所以這基本上是這樣的: -I將e(fx)clipse插件安裝到eclipse中,然後重新啓動eclipse -I將eclipse文件夾複製到網絡上並將該文件夾在另一臺電腦上使用eclipse。我的月食luna不會啓動

目前我正面臨第二個。你們可以教我如何閱讀日食日誌文件嗎?另外,請告訴我與我有什麼關係。

我的補救措施總是得到基本的月食luna zip,然後插入e(fx)clipse。然後希望在我的下一次啓動時它不會死在我身上。

LOG文件

org.osgi.framework.BundleException: Unable to acquire the state change lock for the module: osgi.identity; osgi.identity="org.eclipse.core.runtime"; type="osgi.bundle"; version:Version="3.10.0.v20140318-2214"; singleton:="true" [id=51] STARTED!SESSION 2014-09-01 11:27:12.399 ----------------------------------------------- 
eclipse.buildId=4.4.0.I20140606-1215 
java.version=1.8.0_20 
java.vendor=Oracle Corporation 
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US 
Framework arguments: -product org.eclipse.epp.package.standard.product 
Command-line arguments: -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.standard.product 

!ENTRY org.eclipse.equinox.ds 2 0 2014-09-01 11:28:13.706 
!MESSAGE [SCR - WorkThread] Timeout occurred! Thread was blocked on processing [QueuedJob] WorkPerformer: [email protected]; actionType 1 

!ENTRY org.eclipse.equinox.ds 2 0 2014-09-01 11:28:14.096 
!MESSAGE [SCR] Enabling components of bundle org.eclipse.ui.trace did not complete in 30000 ms 

!ENTRY org.eclipse.fx.ide.java6 4 0 2014-09-01 11:28:14.221 
!MESSAGE FrameworkEvent ERROR 
!STACK 0 
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.fx.ide.java6 [296] 
    Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version>=1.3)(!(version>=1.8)))" 

    at org.eclipse.osgi.container.Module.start(Module.java:434) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) 
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 

!ENTRY org.eclipse.core.runtime 4 0 2014-09-01 11:28:19.274 
!MESSAGE FrameworkEvent ERROR 
!STACK 0 [STARTED] 
    at org.eclipse.osgi.container.Module.lockStateChange(Module.java:329) 
    at org.eclipse.osgi.container.Module.start(Module.java:389) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1562) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476) 
    at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1) 
    at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230) 
    at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340) 

回答

2

你的錯誤信息導致阿谷歌以this Eclipse bugthis one。兩者都是通過在新的工作區上開始解決的。如果您選擇在啓動時不顯示工作區對話框,請在啓動eclipse時使用參數-data <workspace>

27

我在eclipse運行時發生意外重啓的類似問題。我無法啓動日食。檢查.log文件並且具有相同的鎖定錯誤消息。我從workspace.metadata文件夾中刪除了.lock文件,並能夠重新啓動。

+0

我對Liferay的開發工作室類似的問題,而這個工作對我來說就像一個魅力!謝謝。 – HP24 2015-06-24 08:42:29

+0

已保存。我的。生活。謝謝! – BoxMan0617 2015-06-25 21:28:28

+0

節省時間的解決方案。謝謝! – jzarsuelo 2015-10-21 08:02:39

2

我不得不刪除(重命名)我的.metadata/.plugins目錄以便eclipse啓動。

22

這對我有效。如果你到您的工作空間目錄執行以下步驟:

  1. CD .metadata/.plugins
  2. MV org.eclipse.core.resources org.eclipse.core.resources.bak
  3. 啓動Eclipse。 (它應該顯示錯誤消息或空的工作區,因爲沒有找到項目。)
  4. 關閉所有打開的編輯器選項卡。
  5. 退出日食。
  6. 室射頻org.eclipse.core.resources(刪除新創建的目錄。)
  7. MV org.eclipse.core.resources.bak/org.eclipse.core.resources(恢復原來的目錄。)
  8. 啓動eclipse並開始工作。

解決方案,下面的coutersy: http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/

+0

我需要刪除.metadata的.snap文件/ .plugins/org.eclipse.core.resources/DIR看到@Gert的回答 – 2017-02-24 15:57:31

3

我意外斷電後得到了完全相同的問題。

之前提到的解決方案沒有工作,所以我將.metadata\.plugins\org.eclipse.core.resources文件夾與備份進行了比較。備份中沒有出現在當前工作區中的.snap文件。在刪除這個文件後,Eclipse再次啓動。

(我第一次嘗試Kainda的解決方案,沒有工作給我,但沒有造成沒有打開編輯器選項卡的。)

Eclipse版本:月神版本(4.4.0)

+0

想後這個答案太;) – 2017-02-24 15:58:16

0

我完全相同的問題,但沒有上述指定的解決方案爲我工作。

我所做的只是刪除了eclipse的workspace目錄中的.metadata目錄。做完這些之後,eclipse開始像一個魅力,但它的項目瀏覽器中沒有任何項目。我只是一次導入所有的項目,並再次滾動。

Eclipse版本:

Eclipse Java EE IDE for Web Developers. 
Version: Neon.1a Release (4.6.1) 
Build id: 20161007-1200 
0

我有一個類似的問題。所有突然的Eclipse都沒有啓動。經過在eclipse配置.log文件,並與根源

顯示java.lang.NullPointerException相同的異常在org.eclipse.osgi.internal..framework.BundleContextImpl.close(BundleContextImpl.java:92)

在我來說,問題不在於工作區,然後從eclipse forum的解決方案,

我拿了第一類報告錯誤,

即org.eclipse.osgi和德爾eted下配置/ org.eclipse.osgi/.manager

文件(鎖定)文件有名稱以.fileTable

我當時能夠啓動Eclipse沒有在計算機重新啓動,但確實有指定的工作空間它重新啓動時。

從eclipse configuration/org.eclipse.osgi/.manager文件夾中刪除.lock文件後,我可以啓動eclipse。