Could not see pending changes when set a specific current sandbox
vinay kumar bondugula (73●3●29●72)
| asked May 26 '16, 5:17 a.m.
edited May 26 '16, 11:36 a.m. by David Lafreniere (4.8k●7)
Hi,
This is on behalf of our user. User having 4 sandbox locations, when he changes one of the sandbox as current sandbox in Visual Studio, an error prompts saying "CRRTC8500E: Server Error: Error computing pending changes.
Can anyone help to resolve the issue.
RTC version 5.0.2
Thanks,
Vinay
|
2 answers
Hi,
in my case this is what the log returns:
2020-06-25 14:32:00.592 FilesystemUILibrary: Error in PendingChangesRefresh:RunCompletedSystem.TypeInitializationException: The type initializer for 'com.ibm.team.foundation.ui.themes.ThemeColorProvider' threw an exception. ---> System.InvalidOperationException: The calling thread must be STA, because many UI components require this.
at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at com.ibm.team.foundation.ui.themes.ThemeColorGenerator..ctor()
at com.ibm.team.foundation.ui.themes.ThemeColorProvider..cctor()
--- End of inner exception stack trace ---
at com.ibm.team.foundation.ui.themes.ThemeColorProvider.GetThemedColor(String colorKey)
at com.ibm.team.foundation.ui.themes.VisualStudioThemeManager.GetWindowTextString()
at com.ibm.team.filesystem.ui.PCTreeItem.get_DefaultDisplayNameColor()
at com.ibm.team.filesystem.ui.PCTreeItem..ctor()
at com.ibm.team.filesystem.ui.TreeItemsUtil.UpdateChildren(PCTreeItem parent, Object[][] dtos, Boolean expandedDefault)
at com.ibm.team.filesystem.ui.TreeItemsUtil.PopulatePendingPatchesAndWorkspaces(PCTreeItem treeItemRoots, String cfa, PendingPatchesDTO pendingPatchesDTO, WorkspaceSyncDTO[] workspaceDTOs)
at com.ibm.team.filesystem.ui.TreeItemsUtil.PopulatePendingChanges(PCTreeItem treeItemRoots, String cfa, SyncViewDTO syncViewDTO, PendingPatchesDTO pendingPatchesDTO)
at com.ibm.team.filesystem.ui.PendingChangesRefreshManager.RunCompleted(PendingChangesRefreshInput input, Result result, Boolean isCancelled, Exception error)
2020-06-25 14:32:00.594 UiUtils: Pending Changes: Error computing pending changes., System.TypeInitializationException: The type initializer for 'com.ibm.team.foundation.ui.themes.ThemeColorProvider' threw an exception. ---> System.InvalidOperationException: The calling thread must be STA, because many UI components require this.
at System.Windows.Input.InputManager..ctor()
at System.Windows.Input.InputManager.GetCurrentInputManagerImpl()
at System.Windows.Input.KeyboardNavigation..ctor()
at System.Windows.FrameworkElement.FrameworkServices..ctor()
at System.Windows.FrameworkElement.EnsureFrameworkServices()
at System.Windows.FrameworkElement..ctor()
at com.ibm.team.foundation.ui.themes.ThemeColorGenerator..ctor()
at com.ibm.team.foundation.ui.themes.ThemeColorProvider..cctor()
--- End of inner exception stack trace ---
at com.ibm.team.foundation.ui.themes.ThemeColorProvider.GetThemedColor(String colorKey)
at com.ibm.team.foundation.ui.themes.VisualStudioThemeManager.GetWindowTextString()
at com.ibm.team.filesystem.ui.PCTreeItem.get_DefaultDisplayNameColor()
at com.ibm.team.filesystem.ui.PCTreeItem..ctor()
at com.ibm.team.filesystem.ui.TreeItemsUtil.UpdateChildren(PCTreeItem parent, Object[][] dtos, Boolean expandedDefault)
at com.ibm.team.filesystem.ui.TreeItemsUtil.PopulatePendingPatchesAndWorkspaces(PCTreeItem treeItemRoots, String cfa, PendingPatchesDTO pendingPatchesDTO, WorkspaceSyncDTO[] workspaceDTOs)
at com.ibm.team.filesystem.ui.TreeItemsUtil.PopulatePendingChanges(PCTreeItem treeItemRoots, String cfa, SyncViewDTO syncViewDTO, PendingPatchesDTO pendingPatchesDTO)
at com.ibm.team.filesystem.ui.PendingChangesRefreshManager.RunCompleted(PendingChangesRefreshInput input, Result result, Boolean isCancelled, Exception error)
|
I would log a defect and put the Filed Against category to "Visual Studio Client" and include the steps and this stack trace. Looks to be a programming defect where certain UI code is running on the background thread, when it should be on the UI thread.
|
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.
Comments
In Visual Studio, can you select the "TEAM CONCERT" menu from the main toolbar and select "Windows" --> "Team Concert Log". Then turn the "Trace Level" to "Error" and try to run the action again. Please provide a stack trace related to the "CRRTC8500E: Server Error: Error computing pending changes." I see a couple places in the code where that message might be logged, so without a stack trace or additional information it might be hard to figure out what is wrong.
By any chance are the repository workspaces that were loaded into that sandbox deleted from the jazz repository (or made inaccessible by changing ownership or something), or are the flow targets / components of those loaded workspaces made inaccessible (someone changed the ownership or visibility...). I also assume that nothing was modifying contents of the .jazz5 folder by mistake ( which is a folder that contains sandbox metadata)