我的月食卢娜不会起步

时间:2014-09-01 03:48:45

标签: java eclipse

所以这基本上是在以下时间发生的: - 我将e(fx)clipse插件安装到eclipse中,然后重新启动eclipse - 我将eclipse文件夹复制到网络上并将文件夹放在另一台计算机上以使用eclipse。

目前我正面临第二个问题。你们能教我如何阅读日食日志文件吗?另外,请告诉我我有什么用这个。

我的补救措施总是得到基本的日食luna拉链,然后插入e(fx)clipse。然后希望在我的下一次启动时它不会死在我身上。

日志文件

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: org.eclipse.equinox.internal.ds.SCRManager@ccdee4; 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)

8 个答案:

答案 0 :(得分:27)

在eclipse运行时,我遇到了类似的意外重启问题。我无法开始日食。检查.log文件并出现相同的锁定错误消息。我从workspace.metadata文件夹中删除了.lock文件,并且能够重新启动。

答案 1 :(得分:22)

这对我有用。如果转到工作区目录,请执行以下步骤:

  1. cd .metadata / .plugins
  2. mv org.eclipse.core.resources org.eclipse.core.resources.bak
  3. 启动eclipse。 (它应该显示错误消息或空工作区,因为没有找到项目。)
  4. 关闭所有打开的编辑器标签。
  5. 退出日食。
  6. rm -rf org.eclipse.core.resources(删除新创建的目录。)
  7. mv org.eclipse.core.resources.bak / org.eclipse.core.resources(恢复原始目录。)
  8. 启动eclipse并开始工作。
  9. 解决方案,以下的coutersy: http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/

答案 2 :(得分:3)

意外断电后我遇到了完全相同的问题。

之前提到的解决方案无效,因此我将.metadata\.plugins\org.eclipse.core.resources文件夹与备份进行了比较。备份没有当前工作空间中存在的.snap文件。删除此文件后,Eclipse再次启动。

(我首先尝试了Kainda的解决方案,这对我没有用,但确实没有打开编辑器选项卡。)

Eclipse版本:Luna Release(4.4.0)

答案 3 :(得分:2)

您的错误消息的Google会导致this Eclipse bugthis one。两者都是通过开始新工作区来解决的。如果您选择在启动时没有显示工作区对话框,请在启动eclipse时使用-data <workspace>参数。

答案 4 :(得分:2)

我不得不删除(重命名)我的.metadata / .plugins目录,以便eclipse启动。

答案 5 :(得分:0)

我遇到了完全相同的问题,但上述指定的解决方案都不适用于我。

我所做的是删除eclipse的.metadata目录中的workspace目录。在这样做之后,eclipse开始就像一个魅力,但它的项目浏览器中没有任何项目。我刚刚导入了所有的项目,它又一次滚动。

Eclipse版本:

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

答案 6 :(得分:0)

我有类似的问题。所有突然的Eclipse都没有启动。检查了eclipse配置中的.log文件,并且根本原因具有相同的异常

  

org.eclipse.osgi.internal..framework.BundleContextImpl.close(BundleContextImpl.java:92)中的java.lang.NullPointerException

在我的情况下,问题不在于工作空间,而是来自eclipse forum

的解决方案
  

我把第一堂课报告错误,

     即org.eclipse.osgi并删除了配置/ org.eclipse.osgi / .manager下的(锁定)文件

文件的名称以.fileTable开头

我当时是能够在没有计算机重启的情况下启动Eclipse,但必须在重新启动时指定工作空间。

从eclipse configuration / org.eclipse.osgi / .manager文件夹中删除.lock文件后,我可以启动eclipse。

答案 7 :(得分:0)

  1. 使用zip备份该文件夹中的所有文件
  2. 删除文件 文件夹是 \ MyEclipse 2017 CI \ configuration \ org.eclipse.osgi.manager

重启myeclipse

相关问题