eclipse 无法打开,哪位大牛帮帮忙

cool666 发布于 2015/11/26 10:24
阅读 567
收藏 0

昨天在保存项目的时候一直build path,也没有反应我就关闭退出了,再打开就要求我更改workspace路径,我改了之后可以进去,然后我remove更改之后的路径,重新加载的原来的路径,然后就打不开了


这是metadata文件夹下的log日志,eclipse已经打不开了
!SESSION 2015-11-25 21:38:20.379 -----------------------------------------------
eclipse.buildId=v22.2.1-833290
java.version=1.6.0_43
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=zh_CN
Framework arguments:  -product com.android.ide.eclipse.adt.package.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product com.android.ide.eclipse.adt.package.product

This is a continuation of log file I:\ghh\workspace\.metadata\.bak_0.log
Created Time: 2015-11-25 21:38:26.478

!ENTRY org.eclipse.core.resources 4 2 2015-11-25 21:38:26.478
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".
!STACK 0
java.lang.NullPointerException
at org.eclipse.jdt.internal.core.JavaModelManager$VariablesAndContainersSaveHelper.save(JavaModelManager.java:4028)
at org.eclipse.jdt.internal.core.JavaModelManager.saveVariablesAndContainers(JavaModelManager.java:3991)
at org.eclipse.jdt.internal.core.JavaModelManager.saving(JavaModelManager.java:4222)
at org.eclipse.core.internal.resources.SaveManager.executeLifecycle(SaveManager.java:383)
at org.eclipse.core.internal.resources.SaveManager$1.run(SaveManager.java:192)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.core.internal.resources.SaveManager.broadcastLifecycle(SaveManager.java:195)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1130)
at org.eclipse.core.internal.resources.SaveManager.save(SaveManager.java:1109)
at org.eclipse.core.internal.resources.DelayedSnapshotJob.run(DelayedSnapshotJob.java:51)
at org.eclipse.core.internal.resources.SaveManager.shutdown(SaveManager.java:1391)
at org.eclipse.core.internal.resources.Workspace.close(Workspace.java:604)
at org.eclipse.core.resources.ResourcesPlugin.stop(ResourcesPlugin.java:415)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:771)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:764)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:510)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:566)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1206)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(StartLevelManager.java:592)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStartLevel(StartLevelManager.java:257)
at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(StartLevelManager.java:215)
at org.eclipse.osgi.framework.internal.core.InternalSystemBundle.suspend(InternalSystemBundle.java:284)
at org.eclipse.osgi.framework.internal.core.Framework.shutdown(Framework.java:692)
at org.eclipse.osgi.framework.internal.core.Framework.close(Framework.java:600)
at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStarter.java:399)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)

加载中
0
whatwhowhy
whatwhowhy
看任务管理器里是不是有两个javac进程,结束掉,再启
c
cool666
没有,eclipse进不去,在登录界面两秒后就消失了
0
whatwhowhy
whatwhowhy
先关掉eclipse
0
lee123lee
lee123lee
电脑重启
0
moyiguke
moyiguke

找到 \configuration\.settings\org.eclipse.ui.ide.prefs 

整理RECENT_WORKSPACES和RECENT_WORKSPACES_PROTOCOL,把出错的workspace移掉。

0
百世经纶之傲笑红尘
百世经纶之傲笑红尘
把那个项目所在目录里的.project删掉,从新打开eclipse时在指定到项目所在目录
百世经纶之傲笑红尘
百世经纶之傲笑红尘
实在不行从新下载一个eclipse嘛
0
noday
noday
workspace配置文件坏了,把项目导到新workspace里把
返回顶部
顶部