RCP开发中异常:java.lang.RuntimeException: WARNING: Prevented recursive attempt to act
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.