RCP开发中错误:java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate part...(一)

2014-11-24 09:24:21 · 作者: · 浏览: 0
在做RCP的eclipse插件开发时,启动管理软件界面时,总是报如下错误 :
!ENTRY org.eclipse.ui.workbench 4 0 2012-05-25 18:44:21.306  
!MESSAGE WARNING: Prevented recursive attempt to activate part org.gluster.storage.management.console.views.ClusterSummaryView while still in the middle of activating part org.gluster.storage.management.console.views.NavigationView  
!STACK 0  
java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate part org.gluster.storage.management.console.views.ClusterSummaryView while still in the middle of activating part org.gluster.storage.management.console.views.NavigationView  
 at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3586)  
 at org.eclipse.ui.internal.WorkbenchPage.internalActivate(WorkbenchPage.java:691)  
 at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:663)  
 at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1170)  
 at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1147)  
 at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3921)  
 at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)  
 at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3918)  
 at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3894)  
 at org.gluster.storage.management.console.views.GlusterViewsManager.showViewsForCluster(GlusterViewsManager.java:82)  
 at org.gluster.storage.management.console.views.GlusterViewsManager.upda
teViews(GlusterViewsManager.java:53) at org.gluster.storage.management.console.views.NavigationView.selectionChanged(NavigationView.java:142) at org.eclipse.ui.internal.AbstractSelectionService.fireSelection(AbstractSelectionService.java:156) at org.eclipse.ui.internal.AbstractSelectionService.setActivePart(AbstractSelectionService.java:282) at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:60) at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:136) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:3636) at org.eclipse.ui.internal.WorkbenchPage.internalActivate(WorkbenchPage.java:691) at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:663) at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1324) at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1304) at org.eclipse.ui.internal.WorkbenchPage.updateVisibility(WorkbenchPage.java:3779) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2715) at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:3023) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:3004) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage(WorkbenchWindow.java:799) at org.eclipse.ui.internal.Workbench$23.runWithException(Workbench.java:1224) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at