Skip to content

Fix warnings on comparing value types to null #144

Fix warnings on comparing value types to null

Fix warnings on comparing value types to null #144

Triggered via pull request July 30, 2023 08:51
Status Failure
Total duration 11m 29s
Artifacts 1

PR.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 20 warnings
ubuntu-latest
/usr/bin/chmod: cannot access '/usr/local/share/fonts/NotoColorEmoji.ttf': No such file or directory
ubuntu-latest
/usr/bin/cp: cannot create regular file '/usr/local/share/fonts/NotoColorEmoji.ttf': Permission denied
ubuntu-latest
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
ubuntu-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
Test45322: testcases/main/HSSF/UserModel/TestBugs.cs#L1563
SixLabors.Fonts.MissingFontTableException : Table 'loca' is missing
TestAutoSize_bug50681: testcases/main/HSSF/UserModel/TestBugs.cs#L2181
SixLabors.Fonts.MissingFontTableException : Table 'loca' is missing
Bug48325
SixLabors.Fonts.MissingFontTableException : Table 'loca' is missing
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
windows-latest
OPC Compliance error [M4.1]: there is more than one core properties relationship in the package ! POI will use only the first, but other software may reject this file.
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/FileSystem/POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/Standard/StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Eval/FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/UserModel/Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Atp/DateParser.cs(86,17): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/SS/Formula/Functions/Countif.cs(341,21): warning CS0162: Unreachable code detected [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
ubuntu-latest
/home/runner/work/npoi/npoi/main/POIFS/Crypt/EncryptionVerifier.cs(34,30): warning CS0649: Field 'EncryptionVerifier.chainingMode' is never assigned to, and will always have its default value null [/home/runner/work/npoi/npoi/main/NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(225,20): warning CS0114: 'CipherInputStream.Read(byte[])' hides inherited member 'InputStream.Read(byte[])'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(262,21): warning CS0114: 'CipherInputStream.Skip(long)' hides inherited member 'InputStream.Skip(long)'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\Standard\StandardDecryptor.cs(305,21): warning CS0114: 'CipherInputStream.MarkSupported()' hides inherited member 'ByteArrayInputStream.MarkSupported()'. To make the current member override that implementation, add the override keyword. Otherwise add the new keyword. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Eval\FunctionEval.cs(62,37): warning CS0628: 'FunctionEval.functions': new protected member declared in sealed type [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\FileSystem\POIFSFileSystem.cs(66,30): warning CS0108: 'POIFSFileSystem.CreateNonClosingInputStream(Stream)' hides inherited member 'NPOIFSFileSystem.CreateNonClosingInputStream(Stream)'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\UserModel\Workbook.cs(447,14): warning CS0108: 'IWorkbook.Close()' hides inherited member 'ICloseable.Close()'. Use the new keyword if hiding was intended. [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\FinanceFunction.cs(96,13): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Atp\DateParser.cs(86,17): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\SS\Formula\Functions\Countif.cs(341,21): warning CS0162: Unreachable code detected [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]
windows-latest
D:\a\npoi\npoi\main\POIFS\Crypt\EncryptionVerifier.cs(34,30): warning CS0649: Field 'EncryptionVerifier.chainingMode' is never assigned to, and will always have its default value null [D:\a\npoi\npoi\main\NPOI.Core.csproj::TargetFramework=netstandard2.0]

Artifacts

Produced during runtime
Name Size
artifacts Expired
11.5 MB