CC connector does not work after upgrade to M4.
We upgraded from M3 to M4. The new version was installed on the server and after the import of the database, it seems to work fine.
Until we test the synchronization with ClearCase. This synchronization was working in the M3-version. The client gives an error during the creation of the view. The detailed information is: java.lang.NoSuchFieldError: com/ibm/team/internal/filesystem/ui/ImagePool.TEAM_REPOSITORIES at com.ibm.team.connector.scm.cc.ide.ui.views.SyncStreamView.initActions(SyncStreamView.java:671) at com.ibm.team.connector.scm.cc.ide.ui.views.SyncStreamView.createPartControl(SyncStreamView.java:173) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:370) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:531) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209) at org.eclipse.ui.internal.PartStack.presentationSelectionChanged(PartStack.java:843) at org.eclipse.ui.internal.PartStack.access$1(PartStack.java:829) at org.eclipse.ui.internal.PartStack$1.selectPart(PartStack.java:139) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent(TabbedStackPresentation.java:131) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java:276) at org.eclipse.ui.internal.presentations.r33.DefaultTabFolder.access$1(DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.r33.DefaultTabFolder$2.handleEvent(DefaultTabFolder.java:84) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:706) at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:3227) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2005) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:316) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447) at org.eclipse.equinox.launcher.Main.run(Main.java:1173) How can this problem be solved? Maarte. |
5 answers
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 11 '07, 11:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
This looks like something that could happen if you tried to use an M3
Eclipse workspace which had a SyncStream View open at one time. Please try again with a completely new Eclipse workspace (or at least, a workspace that hasn't been used to access the M3 repository). Cheers, Geoff moerlema wrote: We upgraded from M3 to M4. The new version was installed on the server |
I deleted the workspace on my system. This action did not solve the problem.
I tried to setup a new synchronization without success. I got an error on the login, see below. Invoking build participant "com.ibm.team.build.ant" Unable to locate tools.jar. Expected to find it in :\jazz\client\eclipse\lib\tools.jar Buildfile: C:\jazz\buildsystem\buildtoolkit\ScmConnectors\buildfile.xml readProperties: read ccsync.properties checkEnv: Using syncStreamLocationString = Stream|URI:itemOid/com.ibm.team.scm.Workspace/_tafhkKipEdycVP39ZsQJOg Using buildResultUUID = _QeavoqiwEdycVP39ZsQJOg Sync: Using buildResultUUID = _QeavoqiwEdycVP39ZsQJOg Using repositoryAddress= https://nlybstqvp4vws10.code1.emi.philips.com:9443/jazz/ Using userId= ccsync Using password = Using syncStreamLocationString= Stream|URI:itemOid/com.ibm.team.scm.Workspace/_tafhkKipEdycVP39ZsQJOg The syncStreamLocationString is: Stream|URI:itemOid/com.ibm.team.scm.Workspace/_tafhkKipEdycVP39ZsQJOg repoURI is not null userId is not null password is not null syncStreamLocationString is not null log4j:WARN No appenders could be found for logger (com.ibm.team.repository.common.util.ExtensionRegistryReader). log4j:WARN Please initialize the log4j system properly. java.lang.RuntimeException: login failed at com.ibm.team.connector.scm.client.JzProvider.doLogin(JzProvider.java:219) at com.ibm.team.connector.scm.task.ConnectorTasks.synchronizeStream(ConnectorTasks.java:124) at com.ibm.team.connector.scm.task.ConnectorTasks.doExecute(ConnectorTasks.java:82) at com.ibm.team.build.ant.task.AbstractTeamBuildTask.execute(AbstractTeamBuildTask.java:344) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105) at org.apache.tools.ant.Task.perform(Task.java:348) at org.apache.tools.ant.Target.execute(Target.java:357) at org.apache.tools.ant.Target.performTasks(Target.java:385) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329) at org.apache.tools.ant.Project.executeTarget(Project.java:1298) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1181) at org.apache.tools.ant.Main.runBuild(Main.java:698) at org.apache.tools.ant.Main.startAnt(Main.java:199) at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257) at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104) Caused by: com.ibm.team.repository.common.TeamRepositoryException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'publicUriRoot' not found. (, 14, 37) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) at java.lang.reflect.Constructor.newInstance(Constructor.java:521) at com.ibm.team.repository.transport.client.RemoteTeamService.getAppropriateException(RemoteTeamService.java:698) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:436) at com.ibm.team.repository.transport.client.RemoteTeamService.invoke(RemoteTeamService.java:184) at com.ibm.team.repository.transport.client.ServiceInvocationHandler.invoke(ServiceInvocationHandler.java:43) at $Proxy0.describe(Unknown Source) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:615) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invokeServiceCall(ServiceInterfaceProxy.java:146) at com.ibm.team.repository.client.internal.ServiceInterfaceProxy.invoke(ServiceInterfaceProxy.java:80) at $Proxy0.describe(Unknown Source) at com.ibm.team.repository.client.internal.TeamRepository$4.run(TeamRepository.java:1192) at com.ibm.team.repository.client.internal.TeamRepository$3.run(TeamRepository.java:1041) at com.ibm.team.repository.common.transport.CancelableCaller.call(CancelableCaller.java:76) at com.ibm.team.repository.client.internal.TeamRepository.callCancelableService(TeamRepository.java:1034) at com.ibm.team.repository.client.internal.TeamRepository.internalLogin(TeamRepository.java:1186) at com.ibm.team.repository.client.internal.TeamRepository.login(TeamRepository.java:460) at com.ibm.team.connector.scm.client.JzProvider.doLogin(JzProvider.java:212) ... 19 more Caused by: com.ibm.team.repository.common.internal.marshal.MarshallingException: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'publicUriRoot' not found. (, 14, 37) at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:476) at com.ibm.team.repository.transport.client.RemoteTeamService.demarshallEnvelope(RemoteTeamService.java:493) at com.ibm.team.repository.transport.client.RemoteTeamService.invokePost(RemoteTeamService.java:469) at com.ibm.team.repository.transport.client.RemoteTeamService.executeMethod(RemoteTeamService.java:412) ... 36 more Caused by: org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Feature 'publicUriRoot' not found. (, 14, 37) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:81) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:189) at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180) at com.ibm.team.repository.common.internal.marshal.impl.EObjectMarshaller.demarshalInputStreamToObject(EObjectMarshaller.java:473) ... 39 more Caused by: org.eclipse.emf.ecore.xmi.FeatureNotFoundException: Feature 'publicUriRoot' not found. (, 14, 37) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.reportUnknownFeature(XMLHandler.java:1856) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleUnknownFeature(XMLHandler.java:1820) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.handleFeature(XMLHandler.java:1764) at com.ibm.team.repository.common.internal.marshal.util.WebServicesSAXXMLHandler.handleFeature(WebServicesSAXXMLHandler.java:49) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.processElement(XMLHandler.java:974) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:953) at org.eclipse.emf.ecore.xmi.impl.XMLHandler.startElement(XMLHandler.java:684) at com.ibm.team.repository.common.internal.marshal.util.SAXWrapper.startElement(SAXWrapper.java:73) at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) BUILD FAILED C:\jazz\buildsystem\buildtoolkit\ScmConnectors\buildfile.xml:45: java.lang.RuntimeException: login failed Total time: 3 seconds at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) at org.apache.xerces.jaxp.SAXParserImpl.parse(Unknown Source) at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:179) ... 41 more Build failed. Exit value was 1. What can be the problem? Maarte. |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 12 '07, 9:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
To confirm, it looks like deleting the M3 workspace did solve the
original problem you reported, i.e. the missing icon, but that you have now encountered a new problem, true? Assuming that is the case: Note that the "Unable to locate tools.jar" is a warning you can ignore. Also note that the warning about log4j can be ignored. So the problem (as you indicated) is the "unable to login". Looking down the stack trace, this is being caused by: com.ibm.team.repository.common.internal.marshal.MarshallingException: Unfortunately, we've just stepped out of my area of (current :-) expertise, but I will track this down, and get back to you. Cheers, Geoff moerlema wrote: I deleted the workspace on my system. This action did not solve the |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 12 '07, 10:08 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
Note: Discussion of this "Feature not Found" issue is being continued in
workitem 39719. Cheers, Geoff Geoffrey Clemm wrote: To confirm, it looks like deleting the M3 workspace did solve the |
Geoffrey Clemm (30.1k●3●30●35)
| answered Dec 12 '07, 2:08 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
We've identified this as the message you get when you try to connect an
M3 client to an M4 server (see workitem 39000). In workitem 39719, we'll track down why Maarte ended up with an M3 client talking to an M4 server. Cheers, Geoff Geoffrey Clemm wrote: Note: Discussion of this "Feature not Found" issue is being continued in |
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.