mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
NullReferenceException when calling RarArchiveEntry.OpenEntryStream() (v0.29.0 - 0.38.0) #671
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Camble on GitHub (Jan 7, 2025).
This only seems to happen when the RAR archive contains a
Thumbs.dbfile and this file is excluded when extracting.System.NullReferenceException: 'Object reference not set to an instance of an object.'
Stacktrace:
SharpCompress.dll!SharpCompress.Compressors.Rar.UnpackV1.Unpack.Unpack29(bool solid) Line 669 C#
SharpCompress.dll!SharpCompress.Compressors.Rar.UnpackV1.Unpack.DoUnpack() Line 505 C#
SharpCompress.dll!SharpCompress.Compressors.Rar.UnpackV1.Unpack.DoUnpack(SharpCompress.Common.Rar.Headers.FileHeader fileHeader, System.IO.Stream readStream, System.IO.Stream writeStream) Line 484 C#
SharpCompress.dll!SharpCompress.Compressors.Rar.RarStream.RarStream(SharpCompress.Compressors.Rar.IRarUnpack unpack, SharpCompress.Common.Rar.Headers.FileHeader fileHeader, System.IO.Stream readStream) Line 61 C#
SharpCompress.dll!SharpCompress.Archives.Rar.RarArchiveEntry.OpenEntryStream() Line 81 C#