myEclipse 非正常关闭
来源:互联网 发布:华道数据徐州分公司 编辑:程序博客网 时间:2024/04/29 10:21
今天打开Myeclipse10的时候,发现server窗口出现一堆问题,问题如标题,然后下方出现了一堆Java.lang.NullPointerException的问题。
java.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.Deployment.<init>(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ModuleDeployment.<init>(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.WebDeployment.<init>(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.Deployment.create(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.init(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.<init>(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.getDefault(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.ServerTreeViewer$ServerTreeContentProvider.inputChanged(Unknown Source)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:276)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1690)
at com.genuitec.eclipse.ast.deploy.core.ui.ServerTreeViewer.<init>(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ui.ServerView.createPartControl(Unknown Source)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313)
这个问题的出现是在启动myeclipse之后出现的,这时还没有启动tomcat,因此可以排除tomcat中项目代码问题。应该是myeclipse在初始化工作空间workspace 的时候
出的问题。
仔细看下错误发现有一条 at com.genuitec.eclipse.ast.deploy.core.Deployment.这个错误,于是到工作空间下面的D:\Workspaces\.metadata\.plugins\org.eclipse.core.runtime\.settings目录下面找到了名称为com.genuitec.eclipse.ast.deploy的prefs文件,打开文件一开,哈哈,原来里面都是原来的一些项目信息,怪不得会报java.lang.NullPointerException错误呢。果断将此文件删除,重启myeclipse10问题解决
- myEclipse 非正常关闭
- Myeclipse非正常关闭处理
- myeclipse非正常关闭处理办法
- myeclipse非正常关闭 Tomcat不能再次启动
- vim 的非正常关闭
- tomcat非正常关闭解决办法
- Could not create the view: An unexpected exception was thrown. myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown,MyEclipse非正常关闭出现错误
- Could not create the view: An unexpected exception was thrown. myeclipse非正常关闭,出现错误
- myeclipse非正常关闭,“Package Explorer”非正常显示,出现错误“Could not create the view: An unexpected exception was t
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误
- Could not create the view: An unexpected exception was thrown——myeclipse非正常关闭,视窗出现错误
- 图像横纵填充算法
- 使用if和goto语句构造循环
- 史上最全的Javascript面试题总结(内附答案)
- Android 基础工具类 摘自quantan.liu 易读项目
- html rel="external nofollow"
- myEclipse 非正常关闭
- 修改包名,安装多个版本
- 获得并设置textview的颜色,替代已过时的getcolor用法
- 次第花开读书笔记
- ssh实现文件上传
- 正则表达式匹配IP详解
- base64解密
- 膨胀与腐蚀算法
- ZigBee 3.0 《Base-Device-Behavior-Specification》--Network steering(在网)