Coder Ben

-- 境由心生~_~ Coding&Thinking is a life style

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

上次关闭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~~】

阅读更多
文章标签: weblogic eclipse
个人分类: Eclipse
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

不良信息举报

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

最多只允许输入30个字

加入CSDN,享受更精准的内容推荐,与500万程序员共同成长!
关闭
关闭