-
Notifications
You must be signed in to change notification settings - Fork 773
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 ObjectDisposedException message #2415
Merged
JamesNK
merged 1 commit into
grpc:master
from
drewnoakes:fix-object-disposed-exception-message
Apr 17, 2024
Merged
Fix ObjectDisposedException message #2415
JamesNK
merged 1 commit into
grpc:master
from
drewnoakes:fix-object-disposed-exception-message
Apr 17, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
|
@JamesNK do you know who is the CLA Manager for Microsoft. I can't sign the CLA without providing a contact. |
I don't know. I can make the fix and you can close this PR if that's easier. |
I sorted out the CLA. Looks like the failure is in package restore which seems unrelated to the change here. |
Rebasing... |
The call to ObjectDisposedThrowHelper.ThrowIf expects an instance or a type. This code was passing a name, which resulted in an error message resembling: System.ObjectDisposedException : Cannot access a disposed object. Object name: 'System.String'.
JamesNK
force-pushed
the
fix-object-disposed-exception-message
branch
from
April 17, 2024 07:28
cea99e7
to
6ee177e
Compare
JamesNK
approved these changes
Apr 17, 2024
oguzhand95
referenced
this pull request
in cerbos/cerbos-sdk-net
May 31, 2024
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [Google.Protobuf](https://togithub.com/protocolbuffers/protobuf) | `3.26.1` -> `3.27.0` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Google.Protobuf/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Google.Protobuf/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Google.Protobuf/3.26.1/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Google.Protobuf/3.26.1/3.27.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [Grpc.Net.Client](https://togithub.com/grpc/grpc-dotnet) | `2.62.0` -> `2.63.0` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Grpc.Net.Client/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Grpc.Net.Client/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Grpc.Net.Client/2.62.0/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Grpc.Net.Client/2.62.0/2.63.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [Microsoft.NET.Test.Sdk](https://togithub.com/microsoft/vstest) | `17.9.0` -> `17.10.0` | [![age](https://developer.mend.io/api/mc/badges/age/nuget/Microsoft.NET.Test.Sdk/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/nuget/Microsoft.NET.Test.Sdk/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/nuget/Microsoft.NET.Test.Sdk/17.9.0/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/nuget/Microsoft.NET.Test.Sdk/17.9.0/17.10.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>grpc/grpc-dotnet (Grpc.Net.Client)</summary> ### [`v2.63.0`](https://togithub.com/grpc/grpc-dotnet/releases/tag/v2.63.0) ##### What's Changed - Prevent block inside ResolveAsync from blocking PollingResolver.Refresh by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2385](https://togithub.com/grpc/grpc-dotnet/pull/2385) - Bump follow-redirects from 1.15.4 to 1.15.6 in /testassets/InteropTestsGrpcWebWebsite/Tests by [@​dependabot](https://togithub.com/dependabot) in [https://github.com/grpc/grpc-dotnet/pull/2392](https://togithub.com/grpc/grpc-dotnet/pull/2392) - Update microsoft-support.md by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2403](https://togithub.com/grpc/grpc-dotnet/pull/2403) - fix a couple typos in README.md by [@​jjanuszkiewicz](https://togithub.com/jjanuszkiewicz) in [https://github.com/grpc/grpc-dotnet/pull/2397](https://togithub.com/grpc/grpc-dotnet/pull/2397) - Interrupt existing subchannel connect attempt when reconnect is requested by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2410](https://togithub.com/grpc/grpc-dotnet/pull/2410) - Update Directory.Packages.props by [@​WeihanLi](https://togithub.com/WeihanLi) in [https://github.com/grpc/grpc-dotnet/pull/2413](https://togithub.com/grpc/grpc-dotnet/pull/2413) - [#​2401](https://togithub.com/grpc/grpc-dotnet/issues/2401) Add new TFM's so package dependency can be removed by [@​thompson-tomo](https://togithub.com/thompson-tomo) in [https://github.com/grpc/grpc-dotnet/pull/2402](https://togithub.com/grpc/grpc-dotnet/pull/2402) - support `ReadAllAsync` for netstandard2.0 by [@​WeihanLi](https://togithub.com/WeihanLi) in [https://github.com/grpc/grpc-dotnet/pull/2411](https://togithub.com/grpc/grpc-dotnet/pull/2411) - Fix ObjectDisposedException message by [@​drewnoakes](https://togithub.com/drewnoakes) in [https://github.com/grpc/grpc-dotnet/pull/2415](https://togithub.com/grpc/grpc-dotnet/pull/2415) - Enable multiple connections with WinHttpHandler by default by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2416](https://togithub.com/grpc/grpc-dotnet/pull/2416) - Fix memory leak when using call context propagation with cancellation token by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2421](https://togithub.com/grpc/grpc-dotnet/pull/2421) - Fix HTTP/3 test errors on .NET 6 by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2423](https://togithub.com/grpc/grpc-dotnet/pull/2423) - Add semaphore to limit subchannel connect to prevent race conditions by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2422](https://togithub.com/grpc/grpc-dotnet/pull/2422) - Don't capture async locals in resolver by [@​JamesNK](https://togithub.com/JamesNK) in [https://github.com/grpc/grpc-dotnet/pull/2426](https://togithub.com/grpc/grpc-dotnet/pull/2426) - Update Grpc.Tools to 2.63 by [@​apolcyn](https://togithub.com/apolcyn) in [https://github.com/grpc/grpc-dotnet/pull/2429](https://togithub.com/grpc/grpc-dotnet/pull/2429) - Bump 2.63.x branch to 2.63.0-pre1 by [@​apolcyn](https://togithub.com/apolcyn) in [https://github.com/grpc/grpc-dotnet/pull/2430](https://togithub.com/grpc/grpc-dotnet/pull/2430) - Fix build on v2.63.x - cherry pick [https://github.com/grpc/grpc-dotnet/pull/2437](https://togithub.com/grpc/grpc-dotnet/pull/2437) by [@​apolcyn](https://togithub.com/apolcyn) in [https://github.com/grpc/grpc-dotnet/pull/2442](https://togithub.com/grpc/grpc-dotnet/pull/2442) - Bump 2.63.x to stable release by [@​apolcyn](https://togithub.com/apolcyn) in [https://github.com/grpc/grpc-dotnet/pull/2440](https://togithub.com/grpc/grpc-dotnet/pull/2440) ##### New Contributors - [@​jjanuszkiewicz](https://togithub.com/jjanuszkiewicz) made their first contribution in [https://github.com/grpc/grpc-dotnet/pull/2397](https://togithub.com/grpc/grpc-dotnet/pull/2397) - [@​thompson-tomo](https://togithub.com/thompson-tomo) made their first contribution in [https://github.com/grpc/grpc-dotnet/pull/2402](https://togithub.com/grpc/grpc-dotnet/pull/2402) - [@​drewnoakes](https://togithub.com/drewnoakes) made their first contribution in [https://github.com/grpc/grpc-dotnet/pull/2415](https://togithub.com/grpc/grpc-dotnet/pull/2415) **Full Changelog**: grpc/grpc-dotnet@v2.62.0...v2.63.0 </details> <details> <summary>microsoft/vstest (Microsoft.NET.Test.Sdk)</summary> ### [`v17.10.0`](https://togithub.com/microsoft/vstest/releases/tag/v17.10.0) ##### What's Changed - Add missing runtimeconfig.json file for 8.0 by [@​MarcoRossignoli](https://togithub.com/MarcoRossignoli) in [https://github.com/microsoft/vstest/pull/4792](https://togithub.com/microsoft/vstest/pull/4792) - Localized file check-in by OneLocBuild Task: Build definition ID 1222: Build ID [`2338548`](https://togithub.com/microsoft/vstest/commit/2338548) by [@​dotnet-bot](https://togithub.com/dotnet-bot) in [https://github.com/microsoft/vstest/pull/4794](https://togithub.com/microsoft/vstest/pull/4794) - Disable testhost prestart by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4833](https://togithub.com/microsoft/vstest/pull/4833) - Terminal logger fixes by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4834](https://togithub.com/microsoft/vstest/pull/4834) - Add RiscV64 by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4838](https://togithub.com/microsoft/vstest/pull/4838) - Add deterministic source mapping storing for Microsoft.CodeCoverage by [@​jakubch1](https://togithub.com/jakubch1) in [https://github.com/microsoft/vstest/pull/4849](https://togithub.com/microsoft/vstest/pull/4849) - Fix terminal logger encoding & error by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4853](https://togithub.com/microsoft/vstest/pull/4853) - Update sourcebuild configuration to build net previous and net current by [@​Evangelink](https://togithub.com/Evangelink) in [https://github.com/microsoft/vstest/pull/4856](https://togithub.com/microsoft/vstest/pull/4856) - Updating version of Microsoft.VisualStudio.Interop to 17.10 by [@​MSLukeWest](https://togithub.com/MSLukeWest) in [https://github.com/microsoft/vstest/pull/4866](https://togithub.com/microsoft/vstest/pull/4866) - Add VSTEST_DIAG_VERBOSITY to help by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4882](https://togithub.com/microsoft/vstest/pull/4882) - Fix feature flag name by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4885](https://togithub.com/microsoft/vstest/pull/4885) - Improve terminal logger by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4877](https://togithub.com/microsoft/vstest/pull/4877) - Remove PackageLicenseFile preventing PackageLicenseExpression from working by [@​lahma](https://togithub.com/lahma) in [https://github.com/microsoft/vstest/pull/4890](https://togithub.com/microsoft/vstest/pull/4890) - Add GitHub Actions logger by [@​martincostello](https://togithub.com/martincostello) in [https://github.com/microsoft/vstest/pull/4906](https://togithub.com/microsoft/vstest/pull/4906) - Ensure to send a session complete event by [@​drognanar](https://togithub.com/drognanar) in [https://github.com/microsoft/vstest/pull/4878](https://togithub.com/microsoft/vstest/pull/4878) - specify Win10 + maxversiontested to enable xaml APIs to be used in tests running under testhost.exe by [@​ChrisGuzak](https://togithub.com/ChrisGuzak) in [https://github.com/microsoft/vstest/pull/4888](https://togithub.com/microsoft/vstest/pull/4888) - Make VSTest repo buildable in VMR non-source-build by [@​ViktorHofer](https://togithub.com/ViktorHofer) in [https://github.com/microsoft/vstest/pull/4920](https://togithub.com/microsoft/vstest/pull/4920) - Migrate pipelines by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4921](https://togithub.com/microsoft/vstest/pull/4921) - Add test name to MSBuild where we have frame. by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4935](https://togithub.com/microsoft/vstest/pull/4935) - \[rel/17.10] Add list of known TestingPlatform dlls by [@​nohwnd](https://togithub.com/nohwnd) in [https://github.com/microsoft/vstest/pull/4982](https://togithub.com/microsoft/vstest/pull/4982) And many infrastructure related changes and updates. ##### New Contributors - [@​ellahathaway](https://togithub.com/ellahathaway) made their first contribution in [https://github.com/microsoft/vstest/pull/4785](https://togithub.com/microsoft/vstest/pull/4785) - [@​MSLukeWest](https://togithub.com/MSLukeWest) made their first contribution in [https://github.com/microsoft/vstest/pull/4866](https://togithub.com/microsoft/vstest/pull/4866) - [@​lahma](https://togithub.com/lahma) made their first contribution in [https://github.com/microsoft/vstest/pull/4890](https://togithub.com/microsoft/vstest/pull/4890) - [@​ChrisGuzak](https://togithub.com/ChrisGuzak) made their first contribution in [https://github.com/microsoft/vstest/pull/4888](https://togithub.com/microsoft/vstest/pull/4888) **Full Changelog**: microsoft/vstest@v17.9.0...v17.10.0 </details> --- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/cerbos/cerbos-sdk-net). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ1cGRhdGVkSW5WZXIiOiIzNy4zNjguMTAiLCJ0YXJnZXRCcmFuY2giOiJtYWluIiwibGFiZWxzIjpbImJvdHMiLCJjaG9yZSIsImNpIl19--> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Oğuzhan Durgun <oguzhandurgun95@gmail.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 task
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The call to
ObjectDisposedThrowHelper.ThrowIf
expects an instance or a type. This code was passing a name, which resulted in an error message resembling:It should mention the
GrpcChannel
type, not the string type.