Eclipse - 启动时发生错误/请参阅日志文件

时间:2017-03-20 09:22:56

标签: java eclipse

好的,今天上午我有一个Java演示文稿,在这里我站在观众面前,无法加载Eclipse而没有#34;显而易见的"错误,以人道的方式快速修复它,而无需在论坛中爬行并完成整个调试过程。

如果有人知道如何上传整个错误日志文件让我知道,因为它仍然适用于页面。

我在网上搜索过,可能的罪魁祸首似乎很多,所以我在这里尝试了另一个SOS(每个案例似乎都是特定于用户的)

非常欢迎任何有关如何解决此问题的帮助或提示。

请先考虑在投票前提问,有些人往往是快速射手。

PS (偏离主题):我已经在这个IDE上编码了15年了,我发现仍然需要调试自己的IDE而不是花时间来提高工作效率是不可接受的你的核心代码,更不用说像我现在经历的那样的公开尴尬。

我从来没有在Visual Studio中这样做过。这个IDE太脆弱了,无法被认为是正常的,可接受的,并且是行业专业级别的。我真的很喜欢日食,但这方面很诅咒。

  

!会话2017-03-20 09:59:30.753 ----------------------------------- ------------   eclipse.buildId = 4.6.1.M20160907-1200   java.version = 1.8.0_111   java.vendor = Oracle Corporation   BootLoader常量:OS = win32,ARCH = x86_64,WS = win32,NL = en_US   框架参数:-product org.eclipse.epp.package.java.product   命令行参数:-os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product   !ENTRY org.eclipse.equinox.ds 2 0 2017-03-20 10:00:05.599   !MESSAGE [SCR - WorkThread]超时发生!线程在处理[QueuedJob] WorkPerformer时被阻止:org.eclipse.equinox.internal.ds.SCRManager@47eb4257; actionType 1   !ENTRY org.eclipse.equinox.ds 2 0 2017-03-20 10:00:05.784   !MESSAGE [SCR]启用bundle org.eclipse.ui.trace的组件未在30000毫秒内完成   !ENTRY org.eclipse.core.runtime 4 0 2017-03-20 10:00:11.004   !MESSAGE FrameworkEvent ERROR   !堆栈0   org.osgi.framework.BundleException:无法获取模块的状态更改锁:osgi.identity;类型=" osgi.bundle&#34 ;;版本:版本=" 3.12.0.v20160606-1342&#34 ;; osgi.identity =" org.eclipse.core.runtime&#34 ;;单:="真" [id = 86]已启动[已启动]       在org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)       在org.eclipse.osgi.container.Module.start(Module.java:401)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)       在org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)       在org.eclipse.osgi.framework.eventmgr.EventManager $ EventThread.run(EventManager.java:340)   引起:java.util.concurrent.TimeoutException:等待5秒后获取锁定超时。       在org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)       ......还有8个   根异常:   java.util.concurrent.TimeoutException:等待5秒钟获取锁定后超时。       在org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)       在org.eclipse.osgi.container.Module.start(Module.java:401)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)       在org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)       在org.eclipse.osgi.framework.eventmgr.EventManager $ EventThread.run(EventManager.java:340)   !ENTRY org.eclipse.osgi 2 0 2017-03-20 10:00:16.064   !MESSAGE加载类" org.eclipse.oomph.p2.internal.core.P2CorePlugin $ Implementation",thread" Thread [Start Level:Equinox Container:80253188-4b0d-0017-1194-c4515ec13e6c ,如图5所示,主]"超时等待(5010ms)线程"线程[组件解析线程,5,主要]"完成捆绑" org.eclipse.core.runtime_3.12.0.v20160606-1342 [86]"。为了避免死锁,线程"线程[开始等级:Equinox容器:80253188-4b0d-0017-1194-c4515ec13e6c,5,main]"正在进行但是" org.eclipse.oomph.p2.internal.core.P2CorePlugin $ Implementation"可能没有完全初始化。   !堆栈0   org.osgi.framework.BundleException:无法获取模块的状态更改锁:osgi.identity;类型=" osgi.bundle&#34 ;;版本:版本=" 3.12.0.v20160606-1342&#34 ;; osgi.identity =" org.eclipse.core.runtime&#34 ;;单:="真" [id = 86]已启动[已启动]       在org.eclipse.osgi.container.Module.lockStateChange(Module.java:337)       在org.eclipse.osgi.container.Module.start(Module.java:401)       在org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)       在org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)       at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)       在org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)       在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)       在org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:757)       在org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)       在org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)       在org.eclipse.osgi.internal.framework.EquinoxBundle $ EquinoxModule.startWorker(EquinoxBundle.java:309)       在org.eclipse.osgi.container.Module.doStart(Module.java:581)       在org.eclipse.osgi.container.Module.start(Module.java:449)       在org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)       在org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)       at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)       在org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)       在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:423)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)       在org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:564)       在org.eclipse.equinox.internal.ds.model.ServiceComponent.createInstance(ServiceComponent.java:493)       在org.eclipse.equinox.internal.ds.model.ServiceComponentProp.createInstance(ServiceComponentProp.java:270)       在org.eclipse.equinox.internal.ds.model.ServiceComponentProp.build(ServiceComponentProp.java:331)       在org.eclipse.equinox.internal.ds.InstanceProcess.buildComponent(InstanceProcess.java:620)       在org.eclipse.equinox.internal.ds.ServiceReg.getService(ServiceReg.java:53)       在org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse $ 1.run(ServiceFactoryUse.java:212)       at java.security.AccessController.doPrivileged(Native Method)       在org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.factoryGetService(ServiceFactoryUse.java:210)       在org.eclipse.osgi.internal.serviceregistry.ServiceFactoryUse.getService(ServiceFactoryUse.java:111)       在org.eclipse.osgi.internal.serviceregistry.ServiceConsumer $ 2.getService(ServiceConsumer.java:45)       在org.eclipse.osgi.internal.serviceregistry.ServiceRegistrationImpl.getService(ServiceRegistrationImpl.java:496)       在org.eclipse.osgi.internal.serviceregistry.ServiceRegistry.getService(ServiceRegistry.java:461)       在org.eclipse.osgi.internal.framework.BundleContextImpl.getService(BundleContextImpl.java:619)       在org.eclipse.equinox.internal.p2.core.Activator.registerAgent(Activator.java:175)       在org.eclipse.equinox.internal.p2.core.Activator.start(Activator.java:244)       在org.eclipse.osgi.internal.framework.BundleContextImpl $ 3.run(BundleContextImpl.java:774)       在org.eclipse.osgi.internal.framework.BundleContextImpl $ 3.run(BundleContextImpl.java:1)       at java.security.AccessController.doPrivileged(Native Method)       在org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:767)       在org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:724)       在org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)       在org.eclipse.osgi.internal.framework.EquinoxBundle $ EquinoxModule.startWorker(EquinoxBundle.java:309)       在org.eclipse.osgi.container.Module.doStart(Module.java:581)       在org.eclipse.osgi.container.Module.start(Module.java:449)       在org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:470)       在org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:107)       at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:529)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:325)       在org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:345)       在org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)       在org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:407)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)       在org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)       在org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)       at java.lang.ClassLoader.loadClass(ClassLoader.java:357)       at java.lang.Class.getDeclaredConstructors0(Native Method)       at java.lang.Class.privateGetDeclaredConstructors(Class.java:2671)       at java.lang.Class.getConstructor0(Class.java:3075)       在java.lang.Class.newInstance(Class.java:412)       在org.eclipse.osgi.internal.framework.BundleContextImpl.loadBundleActivator(BundleContextImpl.java:758)       在org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:711)       在org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:932)       在org.eclipse.osgi.internal.framework.EquinoxBundle $ EquinoxModule.startWorker(EquinoxBundle.java:309)       在org.eclipse.osgi.container.Module.doStart(Module.java:581)       在org.eclipse.osgi.container.Module.start(Module.java:449)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1620)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.incStartLevel(ModuleContainer.java:1600)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1571)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.dispatchEvent(ModuleContainer.java:1514)       在org.eclipse.osgi.container.ModuleContainer $ ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)       在org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)       在org.eclipse.osgi.framework.eventmgr.EventManager $ EventThread.run(EventManager.java:340)   引起:java.util.concurrent.TimeoutException:等待5秒后获取锁定超时。       在org.eclipse.osgi.container.Module.lockStateChange(Module.java:334)       ... 78更多

2 个答案:

答案 0 :(得分:8)

几个选项

  1. 您是否尝试使用参数-Dosgi.locking=none启动eclipse?
  2. 删除eclipse目录configuration / org.eclipse.osgi / .manager
  3. 下的锁文件

答案 1 :(得分:0)

转到c:\ eclipse \ eclipse \ configuration,编辑文件配置并删除行org.eclipse.equinox.simpleconfigurator ....