异常退出之后,eclipse闪退也不提示错误,通过查看日志发现有这些问题:
!SESSION 2015-05-29 11:28:49.053 ----------------------------------------------- eclipse.buildId=M20130204-1200 java.version=1.8.0_20 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN Framework arguments: -product com.android.ide.eclipse.adt.package.adtproduct Command-line arguments: -os win32 -ws win32 -arch x86_64 -product com.android.ide.eclipse.adt.package.adtproduct This is a continuation of log file E:\eclipse_workspace\.metadata\.bak_0.log Created Time: 2015-05-29 11:29:17.905 !ENTRY org.eclipse.egit.core 4 0 2015-05-29 11:29:17.906 !MESSAGE Git team provider configuration has gone missing. !STACK 0 java.io.FileNotFoundException: E:\eclipse_workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\fresco\org.eclipse.egit.core\GitProjectData.properties (绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:446) at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:202) at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:86) at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:257) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceMapping.<init>(DecoratableResourceMapping.java:69) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResourceMapping(GitLightweightDecorator.java:234) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:164) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.egit.core 4 0 2015-05-29 11:29:17.908 !MESSAGE Git team provider configuration has gone missing. !STACK 0 java.io.FileNotFoundException: E:\eclipse_workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\fresco\org.eclipse.egit.core\GitProjectData.properties (绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:446) at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:202) at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:86) at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:257) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceMapping.<init>(DecoratableResourceMapping.java:69) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResourceMapping(GitLightweightDecorator.java:234) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:164) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.egit.core 4 0 2015-05-29 11:29:23.810 !MESSAGE Git team provider configuration has gone missing. !STACK 0 java.io.FileNotFoundException: E:\eclipse_workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\fresco\org.eclipse.egit.core\GitProjectData.properties (绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:446) at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:202) at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:86) at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:257) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceMapping.<init>(DecoratableResourceMapping.java:69) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResourceMapping(GitLightweightDecorator.java:234) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:164) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.egit.core 4 0 2015-05-29 11:29:26.523 !MESSAGE Git team provider configuration has gone missing. !STACK 0 java.io.FileNotFoundException: E:\eclipse_workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\fresco\org.eclipse.egit.core\GitProjectData.properties (绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:446) at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:202) at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:86) at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:257) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceMapping.<init>(DecoratableResourceMapping.java:69) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResourceMapping(GitLightweightDecorator.java:234) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:164) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY org.eclipse.egit.core 4 0 2015-05-29 11:29:36.070 !MESSAGE Git team provider configuration has gone missing. !STACK 0 java.io.FileNotFoundException: E:\eclipse_workspace\.metadata\.plugins\org.eclipse.core.resources\.projects\fresco\org.eclipse.egit.core\GitProjectData.properties (绯荤粺鎵句笉鍒版寚瀹氱殑鏂囦欢銆�) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(Unknown Source) at org.eclipse.egit.core.project.GitProjectData.load(GitProjectData.java:446) at org.eclipse.egit.core.project.GitProjectData.get(GitProjectData.java:202) at org.eclipse.egit.core.GitProvider.getData(GitProvider.java:86) at org.eclipse.egit.core.project.RepositoryMapping.getMapping(RepositoryMapping.java:257) at org.eclipse.egit.ui.internal.decorators.DecoratableResourceMapping.<init>(DecoratableResourceMapping.java:69) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorateResourceMapping(GitLightweightDecorator.java:234) at org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator.decorate(GitLightweightDecorator.java:164) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) !ENTRY com.android.ide.eclipse.adt 4 0 2015-05-29 11:30:42.519 !MESSAGE fileChanged: failed to find manifest package for project weibo_dev_main_git
解决办法:
删除 [workspace]/.metadata/.plugins/org.eclipse.e4.workbench/workbench.xmi
重启eclipse即可。