It's all about the answers!

Ask a question

CRRTC8500E : Server Error : Error computing pending changes - ThemeColorProvider


Angel Daniel Angeles (132) | asked Jul 01 '20, 9:46 a.m.
In the link below you request that they comment on the stack trace.


The error occurs because of a com.ibm.team.foundation.ui.themes.ThemeColorProvider exception that says "The calling thread must be STA, because many UI components require this."

This error does not allow the "Pending Changes" to be seen .

Please your help!

Stack Trace:

2020-06-25 14:31:12.757 Core: ---------------------------------------------Tracing starts: 6/25/2020 2:31:12 PM
2020-06-25 14:31:34.727 FilesystemUILibrary: 

SyncViewDTO is null 


2020-06-25 14:31:34.836 FilesystemUILibrary: 

SyncViewDTO is null 


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)
2020-06-25 14:32:00.632 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.633 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)
2020-06-25 14:32:00.664 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.665 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)
2020-06-25 14:32:01.355 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:01.356 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)
2020-06-25 14:32:04.636 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:04.636 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)
2020-06-25 14:32:55.137 FilesystemUILibrary: 

SyncViewDTO is null 


2020-06-25 14:32:55.160 FilesystemUILibrary: 

SyncViewDTO is null 


2020-06-25 14:32:56.089 FilesystemUILibrary: 

SyncViewDTO is null 


2020-06-25 14:33:09.529 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:33:09.529 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)
2020-06-25 14:33:09.574 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:33:09.574 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)
2020-06-25 14:33:09.624 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:33:09.625 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)
2020-06-25 14:33:10.780 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:33:10.781 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)
2020-06-25 14:33:14.666 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:33:14.666 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)
2020-06-25 14:35:28.200 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:35:28.200 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)
2020-06-25 14:35:33.231 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:35:33.231 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)

Accepted answer


permanent link
Priyadarshini Gorur (3313) | answered Jul 03 '20, 3:32 a.m.
JAZZ DEVELOPER
Hi Angel,

I presume you are on Visual Studio 2019 with Rational Team Concert 6.0.6.1, if yes, you need to "Allow synchronous autoload". Please refer to article at https://jazz.net/library/article/93897 and check if that helps.

If the version of Visual Studio and RTC is not what I mentioned, please let us know that too.

- Priya
Angel Daniel Angeles selected this answer as the correct answer

Comments
Angel Daniel Angeles commented Jul 17 '20, 10:26 a.m.

 Thank you very much Priyadarshini Gorur. After suggested configuration, it works perfectly.


Priyadarshini Gorur commented Jul 22 '20, 3:06 a.m.
JAZZ DEVELOPER

Glad it did, thanks for confirming.
-Priya

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.