Skip to content

Handle KeyNotFoundException thrown from DictionaryPropertyProxy and DictionaryTypedPropertyProxy #230

Handle KeyNotFoundException thrown from DictionaryPropertyProxy and DictionaryTypedPropertyProxy

Handle KeyNotFoundException thrown from DictionaryPropertyProxy and DictionaryTypedPropertyProxy #230

Re-run triggered January 13, 2025 20:39
Status Success
Total duration 3m 36s
Artifacts

codeql-analysis.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
Analyze (csharp)
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
Analyze (csharp)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L63
Possible null reference argument for parameter 'path' in 'void ObjectAdapter.Add(string path, object? value, object objectToApplyTo, Operation operation)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L83
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L88
Possible null reference argument for parameter 'segment' in 'bool IAdapter.TryAdd(object target, string segment, JsonSerializerOptions options, object? value, out string? errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L90
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreateOperationFailedError(object target, string path, Operation operation, string errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L108
Possible null reference argument for parameter 'path' in 'void ObjectAdapter.Add(string path, object? value, object objectToApplyTo, Operation operation)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L135
Possible null reference argument for parameter 'path' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L135
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreatePathNotFoundError(object target, string path, Operation operation, string errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L140
Possible null reference argument for parameter 'segment' in 'bool IAdapter.TryRemove(object target, string segment, JsonSerializerOptions options, out string? errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L142
Possible null reference argument for parameter 'path' in 'JsonPatchError ObjectAdapter.CreateOperationFailedError(object target, string path, Operation operation, string errorMessage)'.
Analyze (csharp): SystemTextJsonPatch/Adapters/ObjectAdapter.cs#L142
Possible null reference argument for parameter 'errorMessage' in 'JsonPatchError ObjectAdapter.CreateOperationFailedError(object target, string path, Operation operation, string errorMessage)'.