Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Modified collection while enumerating in GetResult #246

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

lemaitre-aneo
Copy link
Contributor

@lemaitre-aneo lemaitre-aneo commented Jan 26, 2024

2024-01-26 10:15:43,786 ERROR 147 ArmoniK.DevelopmentKit.Client.Unified.Services.Submitter.Service - An error occurred while fetching results: System.InvalidOperationException: La collection a été modifiée ; l'opération d'énumération peut ne pas s'exécuter.
   à System.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
   à System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.MoveNext()
   à System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()
   à ArmoniK.DevelopmentKit.Client.Common.Submitter.BaseClientSubmitter`1.GetResultStatus(IEnumerable`1 taskIds, CancellationToken cancellationToken)
   à ArmoniK.DevelopmentKit.Client.Unified.Services.Submitter.Service.ProxyTryGetResults(IEnumerable`1 taskIds, Action`2 responseHandler, Action`3 errorHandler, Int32 chunkResultSize)
   à ArmoniK.DevelopmentKit.Client.Unified.Services.Submitter.Service.ResultTask()

@lemaitre-aneo lemaitre-aneo marked this pull request as ready for review February 5, 2024 21:14
@ngruelaneo ngruelaneo merged commit ad068d8 into main Feb 6, 2024
24 checks passed
@ngruelaneo ngruelaneo deleted the fl/fix-getresult branch February 6, 2024 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants