Could not create the view An unexpected exception was thrown.问题解决
来源:互联网 发布:python 强制类型转换 编辑:程序博客网 时间:2024/06/09 16:33
Could not create the view: An unexpected exception was thrown.问题解决
今天打开Myeclipse10的时候,发现server窗口出现一堆问题,问题如标题,然后下方出现了一堆java.lang.NullPointerException的问题。
java.lang.NullPointerException
at com.genuitec.eclipse.ast.deploy.core.Deployment.(Unknown Source)
at com.genuitec.eclipse.ast.deploy.core.ModuleDeployment.(Unknown
Source)
at com.genuitec.eclipse.ast.deploy.core.WebDeployment.(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.(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.(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目录下面找到了名称为at com.genuitec.eclipse.ast.deploy的prefs文件,打开文件一开,哈哈,原来里面都是原来的一些项目信息,怪不得会报java.lang.NullPointerException错误呢。果断将此文件删除,重启myeclipse10问题解决.
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- Could not create the view: An unexpected exception was thrown.
- could not create the view:an unexpected exception was thrown
- 输入一位数组后得到其最小值
- java环境配置
- LintCode-剑指Offer-(54)转换字符串到整数
- ubuntu matplotlib的安装
- android:windowSoftInputMode属性使用
- Could not create the view An unexpected exception was thrown.问题解决
- Android群英传-拼图游戏puzzle-6点吐槽
- Codeforces Round #332 (Div. 2) D. Spongebob and Squares 公式推导
- 数据库原理 知识点总结
- 查看Casio PDA 的物理地址 MAC (DT-X7系列)
- hpu(acm)大赛第一题
- Java 并发专题 :FutureTask 实现预加载数据 在线看电子书、浏览器浏览网页等
- hdoj5024Wang Xifeng's Little Plot【dfs】
- 同一个ImageView显示不同的图片(LevelDrawable)