8000 NullReferenceException on PS 7.4.0 when extracting multiple 7zip archives simultaneously · Issue #88 · thoemmi/7Zip4Powershell · GitHub
[go: up one dir, main page]

Skip to content
NullReferenceException on PS 7.4.0 when extracting multiple 7zip archives simultaneously  #88
@kborowinski

Description

@kborowinski

@thoemmi: As per title, NullReferenceException on PS 7.4.0 when extracting multiple 7zip archives simultaneously. This happens only when progress bar is visible - $ProgressPreference = Continue

I'm just reporting it here for the reference as I'm working on the fix already, and will submit PR soon.

  1. Excerpt from a function using Start-ThreadJob to expand multiple 7zip archives simulteneously:
    image

  2. Function output with NRE marked in the red box:
    image

  3. NRE details:
    image

WORKAROUND:
Disable progress bar with $ProgressPreference = SilentlyContinue before calling the Expand-7zip cmdlet

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0