Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Source control error in Visual Studio client

Hi,

Whenever I am trying to access the Source Control option in RTC's Visual Studio Client, I am getting an error like, " Error retrieving data. Check log for details." However Source Control is working fine under the Eclipse client.

The log details are given below

07/31/2012 06:39:16 ServiceInterfaceProxy: Request 65: System.UriFormatException: Invalid URI: The Uri string is too long.
   at System.Uri.CreateThis(String uri, Boolean dontEscape, UriKind uriKind)
   at System.Uri..ctor(String uriString)
   at System.Net.WebRequest.Create(String requestUriString)
   at com.ibm.team.foundation.service.WebRequestInvocationProxy.PerformRequest(RequestState rs) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\ServiceInterfaceProxy\WebRequestInvocationProxy.cs:line 130
-------------------------------------------------------------------------------------

07/31/2012 06:39:16 FilesystemClient: System.UriFormatException: Invalid URI: The Uri string is too long.
   at com.ibm.team.foundation.service.WebRequestInvocationProxy.Invoke(IMessage myIMessage) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\ServiceInterfaceProxy\WebRequestInvocationProxy.cs:line 104
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at com.ibm.team.filesystem.service.rest.IFilesystemRestClient.getWorkspaceDetails(ParmsGetWorkspaceDetails parms, IProgressMonitor progress)
   at com.ibm.team.filesystem.client.FilesystemClient.GetWorkspaceDetails(List`1 workspaces, Boolean refresh, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\FilesystemClient.cs:line 2950
   at com.ibm.team.filesystem.client.FilesystemClient.GetStreamsForProjectArea(ProjectAreaWorkingCopy projectArea, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\FilesystemClient.cs:line 2860
   at com.ibm.team.filesystem.client.registry.StreamData.FetchStreamsForProjectArea(IProgressMonitor monitor, Boolean fetchChildren) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\registry\StreamData.cs:line 162
-------------------------------------------------------------------------------------

07/31/2012 06:39:16 UiUtils: Exception thrown in ChildrenProviders: System.UriFormatException: Invalid URI: The Uri string is too long.
   at com.ibm.team.foundation.service.WebRequestInvocationProxy.Invoke(IMessage myIMessage) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\ServiceInterfaceProxy\WebRequestInvocationProxy.cs:line 104
   at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
   at com.ibm.team.filesystem.service.rest.IFilesystemRestClient.getWorkspaceDetails(ParmsGetWorkspaceDetails parms, IProgressMonitor progress)
   at com.ibm.team.filesystem.client.FilesystemClient.GetWorkspaceDetails(List`1 workspaces, Boolean refresh, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\FilesystemClient.cs:line 2950
   at com.ibm.team.filesystem.client.FilesystemClient.GetStreamsForProjectArea(ProjectAreaWorkingCopy projectArea, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\FilesystemClient.cs:line 2860
   at com.ibm.team.filesystem.client.registry.StreamData.FetchStreamsForProjectArea(IProgressMonitor monitor, Boolean fetchChildren) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\registry\StreamData.cs:line 170
   at com.ibm.team.filesystem.client.registry.StreamData.RefreshStreams(IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\registry\StreamData.cs:line 97
   at com.ibm.team.filesystem.client.registry.WorkspaceRegistry.RefreshStreams(ProjectAreaWorkingCopy projectArea, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Filesystem\FilesystemClient\registry\WorkspaceRegistry.cs:line 139
   at com.ibm.team.scm.ui.teamartifact.stream.StreamDataProvider.RepopulateStreamsAndComponents(ScmTreeItem streamsTreeItem, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\SCM\ScmUI\teamartifact\stream\StreamDataProvider.cs:line 902
   at com.ibm.team.scm.ui.teamartifact.ScmTeamArtifactsContributions.TeamArtifacts_TeamArtifactNodeExpanded(TreeItem parent, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\SCM\ScmUI\teamartifact\ScmTeamArtifactsContributions.cs:line 275

-------------------------------------------------------------------------------------

07/31/2012 06:39:16 UiUtils: Exception thrown in ChildrenProviders: System.UriFormatException: Invalid URI: The Uri string is too long.
   at com.ibm.team.foundation.ui.PendingChildrenComputer.RaiseChildrenComputation(Delegate[] delegates, TreeItem parent, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\UiUtils\PendingChildrenComputer.cs:line 149
   at com.ibm.team.process.ui.events.ProcessUIEventMediator.RaiseTeamArtifactNodeExpandedEvent(TreeItem parent, IProgressMonitor monitor)
   at com.ibm.team.process.ui.teamartifacts.TeamArtifactTWUserControl.ComputeChildrenForPendingNodes(TreeItem parent, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Process\TeamArtifact\TeamArtifactTWUserControl.xaml.cs:line 373

-------------------------------------------------------------------------------------

07/31/2012 06:39:16 Core: Task Computing children... required requests 64,65,####2:2

-------------------------------------------------------------------------------------

07/31/2012 06:39:16 UiUtils: Problem while fetching children of Source Control: System.UriFormatException: Invalid URI: The Uri string is too long.
   at com.ibm.team.foundation.ui.PendingChildrenComputer.RaiseChildrenComputation(Delegate[] delegates, TreeItem parent, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\UiUtils\PendingChildrenComputer.cs:line 149
   at com.ibm.team.foundation.ui.PendingChildrenComputer.ComputeChildrenInBackground(TreeItem parent, IProgressMonitor monitor) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\UiUtils\PendingChildrenComputer.cs:line 104
   at com.ibm.team.foundation.core.operationrunner.internalimpl.BackgroundWorkerImpl`2.OnDoWork(DoWorkEventArgs args) in C:\RTC_BUILDS\I3.0.1_20110601-0327\Foundation\Core\operationrunner\internalimpl\BackgroundWorkerImpl.cs:line 180

-------------------------------------------------------------------------------------

Please get me a fix for this.

Thanks in Advance

0 votes



One answer

Permanent link
It looks like the Uri is becoming too long in this case when we make the rest call. I have created a defect for this: https://jazzdev.torolab.ibm.com:9443/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/221067

3 votes

Comments

@Prabodh: Seems your link is broken... Can you please check?

@shrikavan Please use this link:

Which RTC version are you using? This workitem is already resolved.

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Aug 07 '12, 3:34 a.m.

Question was seen: 5,181 times

Last updated: Oct 04 '13, 8:45 a.m.

Related questions
Confirmation Cancel Confirm