Skip to content

Fix crash when getting measurements #198

Fix crash when getting measurements

Fix crash when getting measurements #198

Triggered via push December 7, 2023 08:22
Status Success
Total duration 3m 5s
Artifacts 3

main.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build (macos-latest): CentralHub.Api/Services/LocalizationService.cs#L107
Change return type of method 'FilterMeasurements' from 'System.Collections.Generic.IEnumerable<CentralHub.Api.Model.Measurement>' to 'System.Collections.Generic.Dictionary<CentralHub.Api.Services.LocalizationService.FilterCriteria, CentralHub.Api.Model.Measurement>.ValueCollection' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build (macos-latest): CentralHub.WebUI/Data/TrackerService.cs#L34
Possible null reference argument for parameter 'source' in 'Tracker[] Enumerable.ToArray<Tracker>(IEnumerable<Tracker> source)'.
build (macos-latest): CentralHub.Api/Services/LocalizationService.cs#L107
Change return type of method 'FilterMeasurements' from 'System.Collections.Generic.IEnumerable<CentralHub.Api.Model.Measurement>' to 'System.Collections.Generic.Dictionary<CentralHub.Api.Services.LocalizationService.FilterCriteria, CentralHub.Api.Model.Measurement>.ValueCollection' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build (macos-latest): CentralHub.WebUI/Data/TrackerService.cs#L34
Possible null reference argument for parameter 'source' in 'Tracker[] Enumerable.ToArray<Tracker>(IEnumerable<Tracker> source)'.
build (ubuntu-latest): CentralHub.Api/Services/LocalizationService.cs#L107
Change return type of method 'FilterMeasurements' from 'System.Collections.Generic.IEnumerable<CentralHub.Api.Model.Measurement>' to 'System.Collections.Generic.Dictionary<CentralHub.Api.Services.LocalizationService.FilterCriteria, CentralHub.Api.Model.Measurement>.ValueCollection' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build (ubuntu-latest): CentralHub.WebUI/Data/TrackerService.cs#L34
Possible null reference argument for parameter 'source' in 'Tracker[] Enumerable.ToArray<Tracker>(IEnumerable<Tracker> source)'.
build (ubuntu-latest): CentralHub.Api/Services/LocalizationService.cs#L107
Change return type of method 'FilterMeasurements' from 'System.Collections.Generic.IEnumerable<CentralHub.Api.Model.Measurement>' to 'System.Collections.Generic.Dictionary<CentralHub.Api.Services.LocalizationService.FilterCriteria, CentralHub.Api.Model.Measurement>.ValueCollection' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build (ubuntu-latest): CentralHub.WebUI/Data/TrackerService.cs#L34
Possible null reference argument for parameter 'source' in 'Tracker[] Enumerable.ToArray<Tracker>(IEnumerable<Tracker> source)'.
build (windows-latest): CentralHub.Api/Services/LocalizationService.cs#L107
Change return type of method 'FilterMeasurements' from 'System.Collections.Generic.IEnumerable<CentralHub.Api.Model.Measurement>' to 'System.Collections.Generic.Dictionary<CentralHub.Api.Services.LocalizationService.FilterCriteria, CentralHub.Api.Model.Measurement>.ValueCollection' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build (windows-latest): CentralHub.WebUI/Data/TrackerService.cs#L34
Possible null reference argument for parameter 'source' in 'Tracker[] Enumerable.ToArray<Tracker>(IEnumerable<Tracker> source)'.
build (windows-latest): CentralHub.Api/Services/LocalizationService.cs#L107
Change return type of method 'FilterMeasurements' from 'System.Collections.Generic.IEnumerable<CentralHub.Api.Model.Measurement>' to 'System.Collections.Generic.Dictionary<CentralHub.Api.Services.LocalizationService.FilterCriteria, CentralHub.Api.Model.Measurement>.ValueCollection' for improved performance (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1859)
build (windows-latest): CentralHub.WebUI/Data/TrackerService.cs#L34
Possible null reference argument for parameter 'source' in 'Tracker[] Enumerable.ToArray<Tracker>(IEnumerable<Tracker> source)'.

Artifacts

Produced during runtime
Name Size
Build macos-latest Expired
70.6 MB
Build ubuntu-latest Expired
72.7 MB
Build windows-latest Expired
70.8 MB