2014-09-01 83 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。