今天打开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目录下面找到了名称为at com.genuitec.eclipse.ast.deploy的prefs文件,打开文件一开,哈哈,原来里面都是原来的一些项目信息,怪不得会报java.lang.NullPointerException错误呢。果断将此文件删除,重启myeclipse10问题解决

--------------------- 本文来自 双子星520 的CSDN 博客 ,全文地址请点击:https://blog.csdn.net/shuangzixing520/article/details/35225105?utm_source=copy

【转载】Could not create the view: An unexpected exception was thrown.问题解决相关推荐

  1. MyEclipse Servers视窗出现“Could not create the view: An unexpected exception was thrown”错误解决办法...

    MyEclipse 打开后有时候莫名的在server窗口里抛出"Could not create the view: An unexpected exception was thrown&q ...

  2. Could not create the view: An unexpected exception was thrown.

    Myeclipse非正常关闭后再次打开,"Servers"非正常显示,出现如下错误:Could not create the view: An unexpected excepti ...

  3. Could not create the view: An unexpected exception was thrown. 电脑突然断电,myeclipse非正常关闭,出现错误...

    电脑突然断电,myeclipse非正常关闭,"Package Explorer"非正常显示,出现错误"Could not create the view: An unex ...

  4. MyEclipse10 Servers窗口出现“Could not create the view: An unexpected exception was thrown”解决办法

    今天打开MyEclipse10,Servers突然出现"Could not create the view: An unexpected exception was thrown" ...

  5. Could not create the view: An unexpected exception was thrown. Myeclipse空间报错

    转载于:https://blog.51cto.com/82654993/1424339

  6. 【MyEclips】“Could not create the view: An unexpected exception was thrown”错误解决

    打开MyEclipse所在的wordspace文件夹,在下面子文件夹 .metadata.plugins\org.eclipse.core.runtime.settings 删除 com.genuit ...

  7. 【my eclipse tips】Could not create the view: An unexpected exception was thrown问题

    把D:\工作空间\.metadata\.plugins\org.eclipse.core.runtime\.settings\com.genuitec.eclipse.ast.deploy.core. ...

  8. Could not create the view An unexpected exception……的问题

    问题: 电脑突然断电,myeclipse非正常关闭,"Package Explorer"非正常显示,出现错误"Could not create the view: An ...

  9. Android Logcat 报错:Could not create the view: For input string:

    悲剧的,又重装eclipse,又重装ADT.结果是这原因.纠结. logcat报错:Could not create the view: For input string: "" ...

最新文章

  1. windows文本缩放影响mfc对话框_PhotoShop创建金属文本提示技巧
  2. iOS 9音频应用播放音频之ios9音频基本功能
  3. Dubbo3.0|阿里巴巴服务框架三位一体的选择与实践
  4. 网页上有错误(类不能支持 Automation 操作)解决方法
  5. SAP Cloud Platform和S/4HANA的互联
  6. linux两个数字正则,正则表达式-Linux readelf显示具有不同数字系...
  7. Mr.J-- jQuery学习笔记(十三)--选项Tab卡
  8. 提高千倍效率的35个编码小技巧,老司机带你飞!
  9. java静态方法求n,java之静态属性和静态方法
  10. linux设置进程不忽略信号,Linux下后台进程编写中屏蔽信号
  11. java分布式集群框架_Cacheonix——Java的分布式集群缓存框架
  12. java web 开发环境布置学习笔记1
  13. 广域网宽带接入技术三PON技术
  14. JS中调用后台方法进行验证返回值后加?的意思在GridView中指定一列为超级链接并有查询字符串的写法...
  15. vc++实现avi文件的操作
  16. 拼多多怎么调整后台数据|聚创卓跃
  17. jni使用(四)-----IDEA中javah生成.h文件
  18. 【秒懂】数据分析没头绪?这七种高手常用统计分析方法都帮你总结好了!
  19. 电池的寿命(c语言)
  20. 一文了解常用思维导图与画图软件

热门文章

  1. 剑指offer之斐波那契问题(C++/Java双重实现)
  2. Java注解原来如此通俗易懂
  3. 建站需要mysql_你还在对建站数据不重视吗-Navicat for MySQL赶快上手使用吧
  4. 最小生成树(prim算法)
  5. xp系统图标大全_XP、Win7一键清理(批处理)小程序只有2.7KB大小
  6. 计算机考研考编程,计算机考研面试------编程语言
  7. 桥接模式、NAT模式、仅主机模式理解
  8. mysql 二进制日志详解_Mysql二进制日志详解
  9. java代码输出伞_在伞中集成测试Web应用程序的问题
  10. CENTOS elasticsearch plugin install:Failed: SSLException[java.security.ProviderException,解决