首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > 编程 >

RCP开发中异常:java.lang.RuntimeException: WARNING: Prevented recursive attempt to act

2013-09-07 
RCP开发中错误:java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate part...

RCP开发中错误:java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate part...
在做RCP的eclipse插件开发时,启动管理软件界面时,总是报如下错误 :

while (Display.getDefault().readAndDispatch()) {    //wait for events to finish before continue}

这段也是一样可以的


2.  I just found that one of my colleagues add a PartListener to the part service. When an activated part was adaptable to the IContentOutlinePage, the listener activates the ContentOutline view, so it get also the focus. This was the reason of the exception.

热点排行