Skip to content

Null ref in JSMarshalerArgument.ToManaged #104470

Closed
@stephentoub

Description

@stephentoub

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=731120
Build error leg or test failing: System.Runtime.InteropServices.JavaScript.Tests.JSImportTest.JsImportArraySegmentOfInt32
Pull request: #104456

Error Message

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

{
  "ErrorMessage": "JSMarshalerArgument.ToManaged",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}
Failing Configuration
[Ubuntu.2204.Amd64](https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=731120&view=ms.vss-test-web.build-test-results-tab&runId=18391794&resultId=100467)
Exception Message
System.NullReferenceException : Object reference not set to an instance of an object.
CallStack
   at System.Runtime.InteropServices.JavaScript.JSMarshalerArgument.ToManaged(ArraySegment`1& )
   at System.Runtime.InteropServices.JavaScript.Tests.JavaScriptTestHelper.echo1_ArraySegmentOfInt32(ArraySegment`1 value, Boolean edit)
   at System.Runtime.InteropServices.JavaScript.Tests.JSImportTest.JsImportArraySegmentOfInt32()
   at System.Reflection.MethodBaseInvoker.InterpretedInvoke_Method(Object obj, IntPtr* args)
   at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object , BindingFlags )

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=731120
Error message validated: [JSMarshalerArgument.ToManaged]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 7/5/2024 12:54:19 PM UTC

Report

Summary

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions