Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Null ref in JSMarshalerArgument.ToManaged #104470

Open
stephentoub opened this issue Jul 5, 2024 · 2 comments
Open

Null ref in JSMarshalerArgument.ToManaged #104470

stephentoub opened this issue Jul 5, 2024 · 2 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Milestone

Comments

@stephentoub
Copy link
Member

stephentoub commented Jul 5, 2024

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

Build Definition Test Pull Request
869162 dotnet/runtime WasmTestOnChrome-MT-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #109799
856869 dotnet/runtime WasmTestOnChrome-MT-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #109381
847412 dotnet/runtime WasmTestOnChrome-MT-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #108936
844678 dotnet/runtime WasmTestOnChrome-MT-System.Runtime.InteropServices.JavaScript.Tests.WorkItemExecution #108788

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 4
@stephentoub stephentoub added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' Known Build Error Use this to report build issues in the .NET Helix tab labels Jul 5, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 5, 2024
@stephentoub stephentoub added this to the 9.0.0 milestone Jul 24, 2024
@jeffschwMSFT jeffschwMSFT removed the untriaged New issue has not been triaged by the area owner label Jul 24, 2024
@lewing lewing modified the milestones: 9.0.0, 10.0.0 Jul 31, 2024
@lewing lewing added arch-wasm WebAssembly architecture os-browser Browser variant of arch-wasm and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels Jul 31, 2024
@pavelsavara
Copy link
Member

pavelsavara commented Sep 24, 2024

Could this be the root cause ? #107974

@pavelsavara
Copy link
Member

This is duplicate of #107486 there is more info there and this has filter, keeping both

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch-wasm WebAssembly architecture area-System.Runtime.InteropServices.JavaScript area-VM-threading-mono Known Build Error Use this to report build issues in the .NET Helix tab os-browser Browser variant of arch-wasm
Projects
None yet
Development

No branches or pull requests

4 participants