It's all about the answers!

Ask a question

Could not see pending changes when set a specific current sandbox


vinay kumar bondugula (7332972) | asked May 26 '16, 5:17 a.m.
edited May 26 '16, 11:36 a.m. by David Lafreniere (4.8k7)
 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

Comments
David Lafreniere commented May 26 '16, 11:41 a.m. | edited May 26 '16, 11:45 a.m.
FORUM MODERATOR / JAZZ DEVELOPER

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)

2 answers



permanent link
Angel Daniel Angeles (132) | answered Jul 01 '20, 9:06 a.m.
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)

permanent link
David Lafreniere (4.8k7) | answered Jul 02 '20, 2:52 p.m.
FORUM MODERATOR / JAZZ DEVELOPER

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.

If possible try a newer client other than 5.0.2 (assuming you have a server running a more recent version), as this defect may have already been fixed.

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.