Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

NullReferenceException in PrioritySendDataCollection.Clear() #5566

Copy link
Copy link
@dantraMSFT

Description

@dantraMSFT
Issue body actions

We have two reports of a NullReferenceException in this method on macOS but it's not clear if the field(s) being accessed are null of if elements in the array are null.
The code is guarded by a Dbg.Assert but it's clear that a non-debug check is called for.
see Dbg.Assert(null != _dataToBeSent, "Serialized streams are not initialized");

See issue #4029 for repro steps.

Note that this is not repro'ing on machines available in-house.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIssue has been identified as a bug in the productIssue has been identified as a bug in the productResolution-FixedThe issue is fixed.The issue is fixed.WG-Enginecore PowerShell engine, interpreter, and runtimecore PowerShell engine, interpreter, and runtime

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.