Hi guys,
I’m facing the following problem with the Unity DevOps Version Control (Windows - 11.0.16.9116):
It all started when I sync’ed my repository (using the push/pull option) with github. The plastic repo have 2 branches only (main and /main/someother) , on github I noticed that the syncronization also created 2 branches (/master and /master-someother). So I renamed the github master branch to main.
After testing the syncing feature, I perceived that the “Branch Explorer” tab of the Unity DevOps Version Control (11.0.16.9116) was corrupted.
Things I tried to solve:
- Reinstalled the client IDE;
- Deleted the project folder (along with the .plastic folder)
So I went on to investigate what could be the culprit, and I found this in the file plasticx.debug.log.txt:
2025-01-19 11:49:09,930 <EDITED>\<USERNAME> ERROR AsyncThreadWaiter - Error when performing background operation: Array dimensions exceeded supported range.
2025-01-19 11:49:09,992 <EDITED>\<USERNAME> DEBUG AsyncThreadWaiter - Stack trace: at System.Collections.Generic.List`1.set_Capacity(Int32 value)
at System.Collections.Generic.List`1.AddWithResize(T item)
at Codice.Client.BaseCommands.BranchExplorer.ExplorerTree.ChangesetPathBuilder.CalculateHeadPathFromLeaf(ExplorerChangesetTreeNode leaf)
at Codice.Client.BaseCommands.BranchExplorer.ExplorerTree.ChangesetPathBuilder.CalculateHeadPath()
at Codice.Client.BaseCommands.BranchExplorer.ExplorerTree.ChangesetPathBuilder.Build()
at Codice.Client.BaseCommands.BranchExplorer.ExplorerTree.SubBranchBuilder.ProcessSubBranches(List`1 changesets)
at Codice.Client.BaseCommands.BranchExplorer.ExplorerTree.SubBranchBuilder..ctor(BrExBranch branch, List`1 changesetsOnBranch)
at Codice.Client.BaseCommands.BranchExplorer.ExplorerData.BrExTreeBuilder.ProcessBranches.CalculateBranchBeginAndEndDates(List`1 branches, List`1 changesets)
at Codice.Client.BaseCommands.BranchExplorer.ExplorerData.BrExTreeBuilder.BuildWithOptions(RepositoryInfo repInfo, BrExData brExData, Int64 workspaceChangesetId, String workspaceBranch, BrExWorkspaceCheckoutInfo wkCoInfo, List`1 pendingMergeLinks, ReplicationSourceSelection sel, FilterCollection filters, BuildOptions buildOptions)
at Codice.Client.BaseCommands.BranchExplorer.ExplorerData.BrExTreeBuilder.Build(RepositoryInfo repInfo, BrExData brExData, Int64 workspaceChangesetId, String workspaceBranch, BrExWorkspaceCheckoutInfo wkCoInfo, List`1 pendingMergeLinks, ReplicationSourceSelection sel, FilterCollection filters)
at Codice.Client.BaseCommands.BrExCmdImpl.GetExplorerTree(WorkspaceInfo wkInfo, RepositoryInfo repInfo, FilterCollection filters, DisplayOptions options, Boolean bForceCheckoutCset, Int64 workspaceChangesetId, String workspaceBranch, BrExWorkspaceCheckoutInfo wkCoInfo)
at Codice.Client.BaseCommands.BrExCmdImpl.GetExplorerTree(WorkspaceInfo wkInfo, RepositoryInfo repInfo, FilterCollection filters, DisplayOptions options, Boolean bForceCheckoutCset)
at PlasticGui.PlasticAPI.GetBranchExplorerLayout(WorkspaceInfo wkInfo, RepositorySpec repSpec, FilterCollection filters, DisplayOptions options, WorkingObjectInfo workingObjectInfo, BrExTree& explorerTree)
at PlasticAvalonia.WorkspaceWindow.Views.BranchExplorer.BranchExplorerView.CalculateLayout(WorkspaceInfo wkInfo, RepositorySpec repSpec, RepositoryExplainMergeData explainMergeData, WorkspaceUIConfiguration config, WorkingObjectInfo workingObjectInfo, BrExTree& brExTree)
at PlasticAvalonia.WorkspaceWindow.Views.BranchExplorer.BranchExplorerView.<>c__DisplayClass32_0.<RefreshAndSelect>b__0()
at AppUiFramework.Threading.PlasticThreadWaiterBuilder.AsyncThreadWaiter.ExecuteOperation(Operation operation)
Any insights on this?