It's all about the answers!

Ask a question

RTC 3.0.1 compatibility with Eclipse 4.2.1

Kevin Tapperson (111) | asked Jan 22 '13, 9:04 p.m.
retagged Jan 23 '13, 7:05 a.m. by Remy Suen (426124)
I'm trying to run the RTC 3.0.1 plugins in Eclipse 4.2.1.  We have an RTC 3.0.1 server, so I'm required to run the 3.0.1 plugins.  However, they don't appear to be working properly under Eclipse 4.2.1 (Juno).  In the Pending Changes View, the right click menu of actions is not available.  The console log shows an Exception is thrown each time I try to right click in the Pending Changes View.  This renders the RTC plugins for source control nearly useless under Eclipse 4.2.1 since I cannot update or deliver any changes.

Is this a known issue?  And are there any plans to make available a RTC 3.0.1 client that is compatible with Eclipse 4.2.1?

!ENTRY org.eclipse.ui 4 0 2013-01-22 19:59:24.194
!MESSAGE Unhandled event loop exception
org.eclipse.e4.core.di.InjectionException: Unable to process "HandledContributionItem.commandService": no actual value was found for the argument "ECommandService".
    at org.eclipse.e4.core.internal.di.InjectorImpl.reportUnresolvedArgument(
    at org.eclipse.e4.core.internal.di.InjectorImpl.resolveRequestorArgs(
    at org.eclipse.e4.core.internal.di.InjectorImpl.inject(
    at org.eclipse.e4.core.internal.di.InjectorImpl.internalMake(
    at org.eclipse.e4.core.internal.di.InjectorImpl.make(
    at org.eclipse.e4.core.contexts.ContextInjectionFactory.make(
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.processHandledItem(
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.modelProcessSwitch(
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.processMenu(
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.modelProcessSwitch(
    at org.eclipse.e4.ui.workbench.renderers.swt.MenuManagerRenderer.processContents(
    at org.eclipse.ui.internal.PopupMenuExtender.addMenuContributions(
    at org.eclipse.ui.internal.PopupMenuExtender.menuAboutToShow(
    at org.eclipse.jface.action.MenuManager.fireAboutToShow(
    at org.eclipse.jface.action.MenuManager.handleAboutToShow(
    at org.eclipse.jface.action.MenuManager.access$1(
    at org.eclipse.jface.action.MenuManager$2.menuShown(
    at org.eclipse.swt.widgets.TypedListener.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Menu._setVisible(
    at org.eclipse.swt.widgets.Display.runPopups(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
    at org.eclipse.ui.internal.Workbench$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(

3 answers

permanent link
Joseph Mao (440189) | answered Jan 22 '13, 10:30 p.m.
Hi Kevin,

3.0.1 Eclipse client is only compatible with Eclipse 3.5.2 and 3.6.x, please refer to system requirement document

Any I do think there is plan to make it compatible with Eclipse 4.2

permanent link
KrishnaKanth Naik (76511015) | answered Jan 23 '13, 12:30 a.m.
Hello Kevin

Adding to Josephs update, Although RTC 4.0 supports Eclipse 4.2, there are some known issue with the pending changes view.

A Work around for the same is mentioned in:
Workaround: With RTC installed into Eclipse 4.2, some items are missing from the Pending Changes view context menu

Although Eclipse 4.2 is not supported for RTC 3.0.1.x, you might be interested in following this defect to check for any updates on this issue:
With RTC installed into eclipse 4.2, context menus in Pending Changes view are wrong (except sometimes) (205774)

permanent link
David Winter (823) | answered Feb 07 '13, 9:39 a.m.
edited Feb 07 '13, 9:41 a.m.
There is a patch to fix the pending changes context menu for eclipse 4.2.1 this will be available in the next time.

But for now you can use the change to patch/fix your system manually. It is only a if block in the eclipse ide code.
After patching a eclipse + RTC with the change the context menu in the pending changes view for RTC work for me.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.