It's all about the answers!

Ask a question

Source control error in Visual Studio client


Aron Sajan Philip (145) | asked Aug 07 '12, 3:34 a.m.

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

One answer



permanent link
Prabodh Mairh (3812) | answered Aug 09 '12, 8:55 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
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

Comments
MooR Rathinasamy commented Oct 02 '13, 2:38 p.m. | edited Oct 04 '13, 8:44 a.m.

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


Prabodh Mairh commented Oct 03 '13, 2:47 p.m. | edited Oct 04 '13, 8:45 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

@shrikavan Please use this link:

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

Your answer


Register or to post your answer.