博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
一个bug
阅读量:5013 次
发布时间:2019-06-12

本文共 7761 字,大约阅读时间需要 25 分钟。

bug原因:

maven的project重新更新了一下project name,然后在更新过程中,卡死了,就强制退出。结果,就再也进不去eclipse了。看了eclipse的启动日志,各种报错,找不到我的一个1.tree的文件。。。

有任何的异常弹出。

接着,通过cmd来启动:

1,定位到Eclipse的安装目录下,执行eclipsec.exe文件

2,看到如下的异常信息

java.lang.NullPointerException 

         at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPla 
tform.java:354) 
         at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:291) 
         at org.eclipse.ui.internal.WorkbenchPlugin.log(WorkbenchPlugin.java:830) 
  
         at org.eclipse.ui.statushandlers.StatusManager.logError(StatusManager.ja 
va:285) 
         at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java 
:200) 
         at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java 
:231) 
         at org.eclipse.ui.statushandlers.StatusManager$StatusManagerLogListener. 
logging(StatusManager.java:305) 
         at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLo 
g.java:160) 
         at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLo 
gWriter.java:100) 
         at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safe 
Logged(ExtendedLogReaderServiceFactory.java:86) 
         at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logP 
rivileged(ExtendedLogReaderServiceFactory.java:205) 
         at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log( 
ExtendedLogReaderServiceFactory.java:178) 
         at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(Extend 
edLogServiceFactory.java:65) 
         at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedL 
ogServiceImpl.java:87) 
         at org.eclipse.equinox.log.internal.LoggerImpl.log(LoggerImpl.java:54) 
         at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformL 
ogWriter.java:43) 
         at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:96) 
         at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java: 
606) 
         at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:25 
2) 
         at org.eclipse.core.internal.jobs.JobActivator.stop(JobActivator.java:55 
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund 
leContextImpl.java:771) 
         at java.security.AccessController.doPrivileged(Native Method) 
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(Bundl 
eContextImpl.java:764) 
         at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(Bundle 
Host.java:510) 
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(Abstr 
actBundle.java:566) 
         at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Fram 
ework.java:1206) 
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(St 
artLevelManager.java:592) 
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart 
Level(StartLevelManager.java:257) 
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(S 
tartLevelManager.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.ja 
va:600) 
         at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStart 
er.java:400) 
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja 
va:200) 
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. 
java:57) 
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.java:43) 
         at java.lang.reflect.Method.invoke(Method.java:601) 
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) 
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) 
         at org.eclipse.equinox.launcher.Main.run(Main.java:1450) 
Job found still running after platform shutdown.  Jobs should be canceled by the 
  plugin that scheduled them during shutdown: org.eclipse.core.internal.refresh.R 
efreshJob 
java.lang.NullPointerException 
         at org.eclipse.core.internal.runtime.InternalPlatform.getLog(InternalPla 
tform.java:354) 
         at org.eclipse.core.runtime.Plugin.getLog(Plugin.java:291) 
         at org.eclipse.ui.internal.WorkbenchPlugin.log(WorkbenchPlugin.java:830) 
  
         at org.eclipse.ui.statushandlers.StatusManager.logError(StatusManager.ja 
va:285) 
         at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java 
:200) 
         at org.eclipse.ui.statushandlers.StatusManager.handle(StatusManager.java 
:231) 
         at org.eclipse.ui.statushandlers.StatusManager$StatusManagerLogListener. 
logging(StatusManager.java:305) 
         at org.eclipse.core.internal.runtime.RuntimeLog.logToListeners(RuntimeLo 
g.java:160) 
         at org.eclipse.core.internal.runtime.PlatformLogWriter.logged(PlatformLo 
gWriter.java:100) 
         at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.safe 
Logged(ExtendedLogReaderServiceFactory.java:86) 
         at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.logP 
rivileged(ExtendedLogReaderServiceFactory.java:205) 
         at org.eclipse.equinox.log.internal.ExtendedLogReaderServiceFactory.log( 
ExtendedLogReaderServiceFactory.java:178) 
         at org.eclipse.equinox.log.internal.ExtendedLogServiceFactory.log(Extend 
edLogServiceFactory.java:65) 
         at org.eclipse.equinox.log.internal.ExtendedLogServiceImpl.log(ExtendedL 
ogServiceImpl.java:87) 
         at org.eclipse.equinox.log.internal.LoggerImpl.log(LoggerImpl.java:54) 
         at org.eclipse.core.internal.runtime.PlatformLogWriter.logging(PlatformL 
ogWriter.java:43) 
         at org.eclipse.core.internal.runtime.RuntimeLog.log(RuntimeLog.java:96) 
         at org.eclipse.core.internal.jobs.JobManager.doShutdown(JobManager.java: 
606) 
         at org.eclipse.core.internal.jobs.JobManager.shutdown(JobManager.java:25 
2) 
         at org.eclipse.core.internal.jobs.JobActivator.stop(JobActivator.java:55 
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(Bund 
leContextImpl.java:771) 
         at java.security.AccessController.doPrivileged(Native Method) 
         at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(Bundl 
eContextImpl.java:764) 
         at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(Bundle 
Host.java:510) 
         at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(Abstr 
actBundle.java:566) 
         at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Fram 
ework.java:1206) 
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.decFWSL(St 
artLevelManager.java:592) 
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.doSetStart 
Level(StartLevelManager.java:257) 
         at org.eclipse.osgi.framework.internal.core.StartLevelManager.shutdown(S 
tartLevelManager.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.ja 
va:600) 
         at org.eclipse.core.runtime.adaptor.EclipseStarter.shutdown(EclipseStart 
er.java:400) 
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.ja 
va:200) 
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. 
java:57) 
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces 
sorImpl.java:43) 
         at java.lang.reflect.Method.invoke(Method.java:601) 
         at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636) 
         at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591) 
         at org.eclipse.equinox.launcher.Main.run(Main.java:1450) 
Job found still running after platform shutdown.  Jobs should be canceled by the 
  plugin that scheduled them during shutdown: org.eclipse.core.internal.refresh.R 
efreshJob 

于是,我干脆就删掉 workspace 里的 .metadata 目录,重建工程

这样,eclipse又能启动了。但是这样的效果相当于重构了一个工作区,之前的工作区的配置都丢失了。。

 

不知道这是什么原因。。。。。。

 

 

转载于:https://www.cnblogs.com/RunForLove/p/4924104.html

你可能感兴趣的文章
人群密度估计 CrowdCount
查看>>
JSON.parse()和JSON.stringify()
查看>>
.net 常用正则表达式
查看>>
Java泛型中的标记符含义:
查看>>
初遇GitHub
查看>>
[C# 网络编程系列]专题八:P2P编程
查看>>
Jsの练习-数组常用方法 -forEach()
查看>>
动态绑定treeview的方法
查看>>
jvm参数
查看>>
3-1 案例环境初始化
查看>>
读《构建之法》第四章和十七章有感
查看>>
01背包
查看>>
开发一个12306网站要多少钱?技术分析12306合格还是不合格
查看>>
Selenium 入门到精通系列:六
查看>>
HTTP与TCP的区别和联系
查看>>
android 实现2张图片层叠效果
查看>>
我个人所有的独立博客wordpress都被挂马
查看>>
html5——动画案例(时钟)
查看>>
调用Android系统“应用程序信息(Application Info)”界面
查看>>
ios中用drawRect方法绘图的时候设置颜色
查看>>