Error while connecting to ClearCase(CCRC) via STS eclipse











up vote
1
down vote

favorite
1












Getting below error in the log while connecting to ClearCase(CCRC) via STS eclipse.



Spring Tool Suite 

Version: 3.6.2.RELEASE
Build Id: 201410091308
Platform: Eclipse Luna SR1 (4.4.1)

ClearCase
Version: 7.1.0.10


Error


!ENTRY org.eclipse.jface 4 0 2015-02-05 10:25:39.807
!MESSAGE Unhandled event loop exception during blocked modal context.
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow)
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:175)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:390)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$2.run(CcProviderFactory.java:663)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.showLoginDialog(CcProviderFactory.java:658)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.eventFired(CcProviderFactory.java:361)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.team.client.ui.actions.ConnectAction.run(ConnectAction.java:91)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ServerComponent.onConnect(ServerComponent.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.ibm.rational.team.client.ui.component.renderer.WidgetRenderer$1.widgetSelected(WidgetRenderer.java:278)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ViewWizard.run(ViewWizard.java:94)
at com.ibm.rational.clearcase.ui.actions.CreateViewAction.run(CreateViewAction.java:63)
at com.ibm.rational.team.client.ui.actions.GIWorkbenchActionDelegate.run(GIWorkbenchActionDelegate.java:76)
at com.ibm.rational.clearcase.ui.actions.CCWorkbenchActionDelegate.run(CCWorkbenchActionDelegate.java:73)
at com.ibm.rational.team.client.ui.actions.GIActionDelegate.runWithEvent(GIActionDelegate.java:260)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:243)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:237)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getCoolbarManager(ActivitiesToolbar.java:547)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getActivitiesToolbarManager(ActivitiesToolbar.java:564)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.activitiesToolbarShouldBeShown(ActivitiesToolbar.java:332)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.updateToolbarForComboBox(ActivitiesToolbar.java:392)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.setCurrentWorkspaceContext(ActivitiesToolbar.java:128)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar$3.eventFired(ActivitiesToolbar.java:308)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$10.run(CcProviderFactory.java:2119)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
... 64 more









share|improve this question
























  • Starting eclipse with -clean option or deleting .metadata.pluginsorg.eclipse.core.resources*.s* file didn't help.
    – maestromani
    Feb 5 '15 at 14:23















up vote
1
down vote

favorite
1












Getting below error in the log while connecting to ClearCase(CCRC) via STS eclipse.



Spring Tool Suite 

Version: 3.6.2.RELEASE
Build Id: 201410091308
Platform: Eclipse Luna SR1 (4.4.1)

ClearCase
Version: 7.1.0.10


Error


!ENTRY org.eclipse.jface 4 0 2015-02-05 10:25:39.807
!MESSAGE Unhandled event loop exception during blocked modal context.
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow)
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:175)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:390)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$2.run(CcProviderFactory.java:663)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.showLoginDialog(CcProviderFactory.java:658)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.eventFired(CcProviderFactory.java:361)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.team.client.ui.actions.ConnectAction.run(ConnectAction.java:91)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ServerComponent.onConnect(ServerComponent.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.ibm.rational.team.client.ui.component.renderer.WidgetRenderer$1.widgetSelected(WidgetRenderer.java:278)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ViewWizard.run(ViewWizard.java:94)
at com.ibm.rational.clearcase.ui.actions.CreateViewAction.run(CreateViewAction.java:63)
at com.ibm.rational.team.client.ui.actions.GIWorkbenchActionDelegate.run(GIWorkbenchActionDelegate.java:76)
at com.ibm.rational.clearcase.ui.actions.CCWorkbenchActionDelegate.run(CCWorkbenchActionDelegate.java:73)
at com.ibm.rational.team.client.ui.actions.GIActionDelegate.runWithEvent(GIActionDelegate.java:260)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:243)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:237)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getCoolbarManager(ActivitiesToolbar.java:547)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getActivitiesToolbarManager(ActivitiesToolbar.java:564)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.activitiesToolbarShouldBeShown(ActivitiesToolbar.java:332)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.updateToolbarForComboBox(ActivitiesToolbar.java:392)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.setCurrentWorkspaceContext(ActivitiesToolbar.java:128)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar$3.eventFired(ActivitiesToolbar.java:308)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$10.run(CcProviderFactory.java:2119)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
... 64 more









share|improve this question
























  • Starting eclipse with -clean option or deleting .metadata.pluginsorg.eclipse.core.resources*.s* file didn't help.
    – maestromani
    Feb 5 '15 at 14:23













up vote
1
down vote

favorite
1









up vote
1
down vote

favorite
1






1





Getting below error in the log while connecting to ClearCase(CCRC) via STS eclipse.



Spring Tool Suite 

Version: 3.6.2.RELEASE
Build Id: 201410091308
Platform: Eclipse Luna SR1 (4.4.1)

ClearCase
Version: 7.1.0.10


Error


!ENTRY org.eclipse.jface 4 0 2015-02-05 10:25:39.807
!MESSAGE Unhandled event loop exception during blocked modal context.
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow)
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:175)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:390)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$2.run(CcProviderFactory.java:663)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.showLoginDialog(CcProviderFactory.java:658)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.eventFired(CcProviderFactory.java:361)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.team.client.ui.actions.ConnectAction.run(ConnectAction.java:91)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ServerComponent.onConnect(ServerComponent.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.ibm.rational.team.client.ui.component.renderer.WidgetRenderer$1.widgetSelected(WidgetRenderer.java:278)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ViewWizard.run(ViewWizard.java:94)
at com.ibm.rational.clearcase.ui.actions.CreateViewAction.run(CreateViewAction.java:63)
at com.ibm.rational.team.client.ui.actions.GIWorkbenchActionDelegate.run(GIWorkbenchActionDelegate.java:76)
at com.ibm.rational.clearcase.ui.actions.CCWorkbenchActionDelegate.run(CCWorkbenchActionDelegate.java:73)
at com.ibm.rational.team.client.ui.actions.GIActionDelegate.runWithEvent(GIActionDelegate.java:260)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:243)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:237)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getCoolbarManager(ActivitiesToolbar.java:547)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getActivitiesToolbarManager(ActivitiesToolbar.java:564)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.activitiesToolbarShouldBeShown(ActivitiesToolbar.java:332)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.updateToolbarForComboBox(ActivitiesToolbar.java:392)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.setCurrentWorkspaceContext(ActivitiesToolbar.java:128)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar$3.eventFired(ActivitiesToolbar.java:308)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$10.run(CcProviderFactory.java:2119)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
... 64 more









share|improve this question















Getting below error in the log while connecting to ClearCase(CCRC) via STS eclipse.



Spring Tool Suite 

Version: 3.6.2.RELEASE
Build Id: 201410091308
Platform: Eclipse Luna SR1 (4.4.1)

ClearCase
Version: 7.1.0.10


Error


!ENTRY org.eclipse.jface 4 0 2015-02-05 10:25:39.807
!MESSAGE Unhandled event loop exception during blocked modal context.
!STACK 0
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow)
at org.eclipse.swt.SWT.error(SWT.java:4441)
at org.eclipse.swt.SWT.error(SWT.java:4356)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:139)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4147)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3764)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.block(ModalContext.java:175)
at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:390)
at org.eclipse.jface.dialogs.ProgressMonitorDialog.run(ProgressMonitorDialog.java:527)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$2.run(CcProviderFactory.java:663)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:187)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:156)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4734)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.showLoginDialog(CcProviderFactory.java:658)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory.eventFired(CcProviderFactory.java:361)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.team.client.ui.actions.ConnectAction.run(ConnectAction.java:91)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ServerComponent.onConnect(ServerComponent.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.ibm.rational.team.client.ui.component.renderer.WidgetRenderer$1.widgetSelected(WidgetRenderer.java:278)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
at org.eclipse.jface.window.Window.open(Window.java:808)
at com.ibm.rational.clearcase.ui.wizards.joinProject.ViewWizard.run(ViewWizard.java:94)
at com.ibm.rational.clearcase.ui.actions.CreateViewAction.run(CreateViewAction.java:63)
at com.ibm.rational.team.client.ui.actions.GIWorkbenchActionDelegate.run(GIWorkbenchActionDelegate.java:76)
at com.ibm.rational.clearcase.ui.actions.CCWorkbenchActionDelegate.run(CCWorkbenchActionDelegate.java:73)
at com.ibm.rational.team.client.ui.actions.GIActionDelegate.runWithEvent(GIActionDelegate.java:260)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:243)
at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:237)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
Caused by: java.lang.ClassCastException: org.eclipse.ui.internal.WorkbenchWindow cannot be cast to org.eclipse.jface.window.ApplicationWindow
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getCoolbarManager(ActivitiesToolbar.java:547)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.getActivitiesToolbarManager(ActivitiesToolbar.java:564)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.activitiesToolbarShouldBeShown(ActivitiesToolbar.java:332)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.updateToolbarForComboBox(ActivitiesToolbar.java:392)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar.setCurrentWorkspaceContext(ActivitiesToolbar.java:128)
at com.ibm.rational.clearcase.ui.toolbar.activities.ActivitiesToolbar$3.eventFired(ActivitiesToolbar.java:308)
at com.ibm.rational.team.client.rpm.events.GUIEventDispatcher.fireEvent(GUIEventDispatcher.java:48)
at com.ibm.rational.clearcase.ui.util.CcProviderFactory$10.run(CcProviderFactory.java:2119)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
... 64 more






java spring eclipse clearcase






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 22 at 14:01









Sneftel

23.5k64077




23.5k64077










asked Feb 5 '15 at 14:22









maestromani

448424




448424












  • Starting eclipse with -clean option or deleting .metadata.pluginsorg.eclipse.core.resources*.s* file didn't help.
    – maestromani
    Feb 5 '15 at 14:23


















  • Starting eclipse with -clean option or deleting .metadata.pluginsorg.eclipse.core.resources*.s* file didn't help.
    – maestromani
    Feb 5 '15 at 14:23
















Starting eclipse with -clean option or deleting .metadata.pluginsorg.eclipse.core.resources*.s* file didn't help.
– maestromani
Feb 5 '15 at 14:23




Starting eclipse with -clean option or deleting .metadata.pluginsorg.eclipse.core.resources*.s* file didn't help.
– maestromani
Feb 5 '15 at 14:23












1 Answer
1






active

oldest

votes

















up vote
1
down vote



accepted










That could indicate an incompatibility between the CCRC eclipse plugin 3.6.2 and the recent Eclipse Luna 4.4.



Check if you can install/run that same plugin with an older Eclipse, one listed in "System Requirements for the ClearCase Remote Client"






share|improve this answer





















  • Thank you very much, yes it is not supported. Old version is working fine...
    – maestromani
    Feb 6 '15 at 12:44











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f28346401%2ferror-while-connecting-to-clearcaseccrc-via-sts-eclipse%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes








up vote
1
down vote



accepted










That could indicate an incompatibility between the CCRC eclipse plugin 3.6.2 and the recent Eclipse Luna 4.4.



Check if you can install/run that same plugin with an older Eclipse, one listed in "System Requirements for the ClearCase Remote Client"






share|improve this answer





















  • Thank you very much, yes it is not supported. Old version is working fine...
    – maestromani
    Feb 6 '15 at 12:44















up vote
1
down vote



accepted










That could indicate an incompatibility between the CCRC eclipse plugin 3.6.2 and the recent Eclipse Luna 4.4.



Check if you can install/run that same plugin with an older Eclipse, one listed in "System Requirements for the ClearCase Remote Client"






share|improve this answer





















  • Thank you very much, yes it is not supported. Old version is working fine...
    – maestromani
    Feb 6 '15 at 12:44













up vote
1
down vote



accepted







up vote
1
down vote



accepted






That could indicate an incompatibility between the CCRC eclipse plugin 3.6.2 and the recent Eclipse Luna 4.4.



Check if you can install/run that same plugin with an older Eclipse, one listed in "System Requirements for the ClearCase Remote Client"






share|improve this answer












That could indicate an incompatibility between the CCRC eclipse plugin 3.6.2 and the recent Eclipse Luna 4.4.



Check if you can install/run that same plugin with an older Eclipse, one listed in "System Requirements for the ClearCase Remote Client"







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 5 '15 at 15:09









VonC

825k28425933127




825k28425933127












  • Thank you very much, yes it is not supported. Old version is working fine...
    – maestromani
    Feb 6 '15 at 12:44


















  • Thank you very much, yes it is not supported. Old version is working fine...
    – maestromani
    Feb 6 '15 at 12:44
















Thank you very much, yes it is not supported. Old version is working fine...
– maestromani
Feb 6 '15 at 12:44




Thank you very much, yes it is not supported. Old version is working fine...
– maestromani
Feb 6 '15 at 12:44


















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f28346401%2ferror-while-connecting-to-clearcaseccrc-via-sts-eclipse%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

What visual should I use to simply compare current year value vs last year in Power BI desktop

How to ignore python UserWarning in pytest?

Alexandru Averescu