Skip to content

Fix null ref exception in LookupType5Format2SubTable #892

Fix null ref exception in LookupType5Format2SubTable

Fix null ref exception in LookupType5Format2SubTable #892

Triggered via pull request November 30, 2023 10:11
Status Failure
Total duration 1m 24s
Artifacts

build-and-test.yml

on: pull_request
Matrix: Build
Publish
0s
Publish
Fit to window
Zoom out
Zoom in

Annotations

15 errors and 14 warnings
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): src/UnicodeTrieGenerator/Generator.UniversalShapingEngine.cs#L531
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): src/SixLabors.Fonts/Tables/AdvancedTypographic/Shapers/IndicShaper.cs#L55
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): src/UnicodeTrieGenerator/Generator.UniversalShapingEngine.cs#L531
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false): src/SixLabors.Fonts/Tables/AdvancedTypographic/Shapers/IndicShaper.cs#L55
Prefer a 'TryGetValue' call over a Dictionary indexer access guarded by a 'ContainsKey' check to avoid double lookup (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1854)
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
Process completed with exit code 1.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
The job was canceled because "false_ubuntu-latest_net7_" failed.
Build (false, windows-latest, net6.0, 6.0.x, -x64, true)
The operation was canceled.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net7_" failed.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false)
The operation was canceled.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net7_" failed.
Build (false, windows-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false)
The job was canceled because "false_ubuntu-latest_net7_" failed.
Build (false, macos-latest, net7.0, 7.0.x, true, -x64, false)
The operation was canceled.
Build (false, macos-latest, net6.0, 6.0.x, -x64, false)
The job was canceled because "false_ubuntu-latest_net7_" failed.
Build (false, macos-latest, net6.0, 6.0.x, -x64, false)
The operation was canceled.
Build (false, ubuntu-latest, net7.0, 7.0.x, true, -x64, false)
No files were found with the provided path: tests/Images/ActualOutput/. No artifacts will be uploaded.
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/MeasureTextBenchmark.cs#L37
Change MeasureTextBenchmark.Dispose() to call GC.SuppressFinalize(object). This will prevent derived types that introduce a finalizer from needing to re-implement 'IDisposable' to call it. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1816)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Benchmarks/SixLabors.Fonts.Benchmarks/MeasureTextBenchmark.cs#L30
The behavior of 'SystemFonts.Get(string)' could vary based on the current user's locale settings. Replace this call in 'MeasureTextBenchmark.MeasureTextBenchmark()' with a call to 'SystemFonts.Get(string, CultureInfo)'. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1304)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/TestEnvironment.cs#L25
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/TestFonts.cs#L301
'Assembly.CodeBase' is obsolete: 'Assembly.CodeBase and Assembly.EscapedCodeBase are only included for .NET Framework compatibility. Use Assembly.Location.' (https://aka.ms/dotnet-warnings/SYSLIB0012)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/TextLayoutTests.cs#L780
Non-constant fields should not be visible (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2211)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/BigEndianBinaryWriter.cs#L35
Use nameof in place of string literal 'stream' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1507)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/BigEndianBinaryWriter.cs#L40
Use nameof in place of string literal 'stream' (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1507)
Build (false, ubuntu-latest, net6.0, 6.0.x, -x64, false): tests/SixLabors.Fonts.Tests/WriterExtensions.cs#L625
Member 'LayerSize' does not access instance data and can be marked as static (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1822)