Skip to content

NullReferenceException in ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor #118979

@MichalStrehovsky

Description

@MichalStrehovsky
[FAIL] System.Linq.Expressions.Tests.ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor(sourceObject: Param_0)
System.AggregateException : One or more errors occurred. (Didn't find DebuggerTypeProxyAttribute on System.Linq.Expressions.PrimitiveParameterExpression`1[System.Int32].) (Object reference not set to an instance of an object.)
---- Microsoft.DotNet.XUnitExtensions.SkipTestException : Didn't find DebuggerTypeProxyAttribute on System.Linq.Expressions.PrimitiveParameterExpression`1[System.Int32].
---- System.NullReferenceException : Object reference not set to an instance of an object.

----- Inner Stack Trace #1 (Microsoft.DotNet.XUnitExtensions.SkipTestException) -----
   at System.Linq.Expressions.Tests.ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor(Object sourceObject) + 0x205
   at System.Linq.Expressions!<BaseAddress>+0x1df7e62
   at System.Reflection.DynamicInvokeInfo.InvokeWithFewArguments(IntPtr, Byte&, Byte&, Object[], BinderBundle, Boolean) + 0x91
----- Inner Stack Trace #2 (System.NullReferenceException) -----
--- End of stack trace from previous location ---
--- End of stack trace from previous location ---

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=1122491
Build error leg or test failing: Test System.Linq.Expressions.Tests.ExpressionDebuggerTypeProxyTests.ThrowOnNullToCtor
Pull request: #117502

Error Message

Fill the error message using step by step known issues guidance.

{
"ErrorMessage": ["Didn't find DebuggerTypeProxyAttribute","Object reference not set to an instance of an object"],
"ErrorPattern": "",
"BuildRetry": false,
"ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1122491
Error message validated: [DebuggerTypeProxyAttribute Object reference not set to an instance of an object]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/22/2025 6:08:25 AM UTC

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1122491
Error message validated: [Didn't find DebuggerTypeProxyAttribute.*Object reference not set to an instance of an object]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/22/2025 6:11:45 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=1122491
Error message validated: [Didn't find DebuggerTypeProxyAttribute Object reference not set to an instance of an object]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 8/22/2025 10:48:50 PM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions