Closed antony-liu closed 3 months ago
Tests failed. Can you check the problem?
The test TestXSSFWorkbook.TestSetVBAProject was passed on my local, but failed with PR action. So ignore this test to make PR action pass.
The error looks a bit weird. Is it possible it only occurs in chance? Let's remove the ignore tag and trigger it again
Error: ICSharpCode.SharpZipLib.Zip.ZipException : EOF in header
10:28:45 [DBG]
10:28:45 [DBG] Failed TestSetVBAProject [11 ms]
10:28:45 [DBG] Error Message:
10:28:45 [DBG] ICSharpCode.SharpZipLib.Zip.ZipException : EOF in header
10:28:45 [DBG] Stack Trace:
10:28:45 [DBG] at ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputBuffer.ReadLeByte()
10:28:45 [DBG] at ICSharpCode.SharpZipLib.Zip.ZipInputStream.SkipUntilNextEntry()
10:28:45 [DBG] at ICSharpCode.SharpZipLib.Zip.ZipInputStream.GetNextEntry()
10:28:45 [DBG] at NPOI.OpenXml4Net.Util.ZipInputStreamZipEntrySource..ctor(ZipInputStream inp) in /_/openxml4Net/Util/ZipInputStreamZipEntrySource.cs:line 35
10:28:45 [DBG] at NPOI.OpenXml4Net.OPC.ZipPackage..ctor(FileInfo file, PackageAccess access) in /_/openxml4Net/OPC/ZipPackage.cs:line 119
10:28:45 [DBG] at NPOI.OpenXml4Net.OPC.OPCPackage.Open(FileInfo file, PackageAccess access) in /_/openxml4Net/OPC/OPCPackage.cs:line 264
10:28:45 [DBG] at TestCases.XSSF.UserModel.TestXSSFWorkbook.TestSetVBAProject() in /_/testcases/ooxml/XSSF/UserModel/TestXSSFWorkbook.cs:line 907
I have removed the ignore attribute, and the test passed.
LGTM
More patches ported from poi 3.16