Eclipse启动后Weblogic Servers报错 [Could not create the view: An unexpected exception was thrown.]

原创 2014年08月07日 14:25:42

上次关闭Eclipse后,这次重新启动Eclipse,发现之前在Weblogic Servers中的服务都不见了,提示是大叉一个,

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

点开Details查看详情:

java.lang.NullPointerException

at com.bea.weblogic.eclipse.ui.views.WebLogicServerTreeContentProvider.serverConfigChanged(WebLogicServerTreeContentProvider.java:263)
at com.bea.weblogic.eclipse.model.ServerManager.fireServerConfigChanged(ServerManager.java:104)
at com.bea.weblogic.eclipse.model.ServerManager.refreshServer(ServerManager.java:176)
at com.bea.weblogic.eclipse.model.ServerManager.refreshAll(ServerManager.java:166)
at com.bea.weblogic.eclipse.ui.views.WebLogicServersView.createPartControl(WebLogicServersView.java:61)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:371)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:230)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:594)
at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:306)
at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531)
at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180)
at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270)
at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473)
at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:843)
at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829)
at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139)
at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:133)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267)
at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1(DefaultTabFolder.java:1)
at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:87)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:770)
at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3242)
at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2017)
at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:320)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)

at org.eclipse.equinox.launcher.Main.run(Main.java:1236)


不知哪位大侠遇到过,求指教,谢谢~~


在这个页面搜到一点解决方案,但是打不开

http://www.experts-exchange.com/Programming/Editors_IDEs/Q_23326589.html

 

【Done:20140808

后来有搜索了关于Could not create the view: An unexpected exception was thrown.的解决方案,但大多是在MyEclipse中的处理,不是针对Eclipse的。

比如(1) 删除工作空间中的.metadata这个文件夹,这个比较狠,因为删除后就初始化了eclipse的工作空间,之前里面的设置和Project都没有了,我删除后果断还原了,需慎用呀;
(2) 删除“.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs”这个文件,但是这是Myeclipse中的,eclipse中没有

(3)我就也试着在“.metadata/.plugins/org.eclipse.core.runtime/.settings/下将最近更新的文件找了下,实在没看到和报错的包对应的文件,后来就删掉出错当天更新的些prefs文件;第二天重启Eclipse后Welogic Servers恢复正常了。总算重见天日了~~GodBless~~】

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

RT: 打开所在的wordspace文件夹,在下面子文件夹 .metadata\.plugins\org.eclipse.core.runtime\.settings 下面 删除 com....
  • oney139
  • oney139
  • 2013年09月08日 11:54
  • 12934

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

今天打开MyEclipse10,Servers突然出现“Could not create the view: An unexpected exception was thrown”,一个意想不到的异常...
  • u013046097
  • u013046097
  • 2016年02月26日 19:28
  • 1505

Eclipse集成和调试Ant工程

Eclipse中集成和调试Ant工程cheungmine2012-5-01摘要:使用Ant来构建Java小型或大型项目的好处是不言而喻的。本文展示如何在Eclipse里集成Ant的工程,并配置使能调试...
  • cheungmine
  • cheungmine
  • 2012年05月01日 20:13
  • 15324

Could not create the view: An unexpected exception was thrown.问题解决

今天打开Myeclipse10的时候,发现server
  • shuangzixing520
  • shuangzixing520
  • 2014年06月27日 10:44
  • 64116

Could not create the view: An unexpected exception was thrown.,myeclipse10非正常关闭,出现错误

问题: myeclipse非正常关闭,“Package Explorer”非正常显示,出现错误“Could not create the view: An unexpected exception ...
  • u012373815
  • u012373815
  • 2015年03月17日 14:15
  • 2804

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

问题: 电脑突然断电,myeclipse非正常关闭,“Package Explorer”非正常显示,出现错误“Could not create the view: An unexpected exc...
  • partner4java
  • partner4java
  • 2013年05月29日 00:23
  • 19504

Could not create the view: An unexpected exception was thrown,MyEclipse非正常关闭出现错误

MyEcli
  • u010800530
  • u010800530
  • 2015年01月08日 10:54
  • 903

Myeclipse编辑器中server服务窗口出现Could not create the view: An unexpected exception was thrown

在我们非正常关闭计算机或者台式电脑突然断电,而当前的计算机中的myeclipse正在运行中,当下次启动计算机时,计算机可能会出现Could not create the view: An unexpe...
  • ZhiyouWu
  • ZhiyouWu
  • 2016年03月31日 11:08
  • 2726

MyEclipse启动:Could not create the view: An unexpected exception was thrown.

最近启动MyEclipse,Servers视窗出现Could not create the view: An unexpected exception was thrown,解决完记录一下。 经过网...
  • wang18734782352
  • wang18734782352
  • 2017年08月11日 09:07
  • 163

打开工作空间,Servers报错(Could not create the view: An unexpected exception was thrown.))

原因分析 可能是MyEclipse未完全加载其中的配置信息造成的, 可能是它读不出其中的配置信息,也可能是它解析其中的配置信息出了问题。 由于这个本身不涉及工作空间中的其他控件的使用,只是无法创...
  • u014473375
  • u014473375
  • 2016年06月21日 13:32
  • 216
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Eclipse启动后Weblogic Servers报错 [Could not create the view: An unexpected exception was thrown.]
举报原因:
原因补充:

(最多只允许输入30个字)