Closed
Description
Hit on a unrelated PR #66017:
Build, and log.
[19:28:59] info: Inspector-88[0] console.warning:
[19:28:59] info: Inspector-88[0] console.warning: Unhandled Exception:
[19:28:59] info: Inspector-88[0] console.warning: System.NullReferenceException: Object reference not set to an instance of an object.
[19:28:59] info: Inspector-88[0] console.warning: at TestHotReloadUsingSDB.RunMethod(String className, String methodName) in /_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs:line 990
[19:28:59] dbug: Inspector-88[0] Failing all waiters because: Runtime.exceptionThrown: { "timestamp": 1646162939709.186, "exceptionDetails": { "exceptionId": 2, "text": "Uncaught", "lineNumber": 2, "columnNumber": 46776, "scriptId": "6", "url": "http://localhost:9400/dotnet.js", "stackTrace": { "callFrames": [ { "functionName": "_convert_exception_for_method_call", "scriptId": "6", "url": "http://localhost:9400/dotnet.js", "lineNumber": 2, "columnNumber": 46776 }, { "functionName": "_handle_exception_for_call", "scriptId": "6", "url": "http://localhost:9400/dotnet.js", "lineNumber": 2, "columnNumber": 47416 }, { "functionName": "_debugger_test__TestHotReloadUsingSDB_RunMethod", "scriptId": "36", "url": "https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod", "lineNumber": 24, "columnNumber": 4 }, { "functionName": "invoke_static_method", "scriptId": "3", "url": "http://localhost:9400/debugger-driver.html", "lineNumber": 25, "columnNumber": 10 }, { "functionName": "", "scriptId": "33", "url": "", "lineNumber": 0, "columnNumber": 31 } ] }, "exception": { "type": "object", "subtype": "error", "className": "Error", "description": "Error: System.NullReferenceException: Object reference not set to an instance of an object.\n at TestHotReloadUsingSDB.RunMethod(String className, String methodName) in /_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs:line 990\n at _convert_exception_for_method_call (http://localhost:9400/dotnet.js:3:46777)\n at _handle_exception_for_call (http://localhost:9400/dotnet.js:3:47417)\n at _debugger_test__TestHotReloadUsingSDB_RunMethod (https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod:25:5)\n at invoke_static_method (http://localhost:9400/debugger-driver.html:26:11)\n at <anonymous>:1:32", "objectId": "3464803935764391451.1.57", "preview": { "type": "object", "subtype": "error", "description": "Error: System.NullReferenceException: Object reference not set to an instance of an object.\n at TestHotReloadUsingSDB.RunMethod(String className, String methodName) in /_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs:line 990\n at _convert_exception_for_method_call (http://localhost:9400/dotnet.js:3:46777)\n at _handle_exception_for_call (http://localhost:9400/dotnet.js:3:47417)\n at _debugger_test__TestHotReloadUsingSDB_RunMethod (https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod:25:5)\n at invoke_static_method (http://localhost:9400/debugger-driver.html:26:11)\n at <anonymous>:1:32", "overflow": false, "properties": [ { "name": "stack", "type": "string", "value": "Error: System.NullReferenceException: Object refer…bugger-driver.html:26:11)\n at <anonymous>:1:32" }, { "name": "message", "type": "string", "value": "System.NullReferenceException: Object reference no…ger/tests/debugger-test/debugger-test.cs:line 990" } ] } }, "executionContextId": 1 } }
[19:28:59] dbug: InspectorClient-88[0] RunLoop stopped, reason: Shutdown. (parentToken: True, linked: True):
[19:28:59] dbug: InspectorClient-88[0] Failing 0 pending cmds
[19:28:59] dbug: InspectorClient-88[0] Loop ended with socket: Aborted
[xUnit.net 00:03:17.04] DebuggerTests.BreakpointTests.DebugHotReloadMethodUnchangedUsingSDB [FAIL]
Failed DebuggerTests.BreakpointTests.DebugHotReloadMethodUnchangedUsingSDB [1 s]
Error Message:
System.ArgumentException : {
"timestamp": 1646162939709.186,
"exceptionDetails": {
"exceptionId": 2,
"text": "Uncaught",
"lineNumber": 2,
"columnNumber": 46776,
"scriptId": "6",
"url": "http://localhost:9400/dotnet.js",
"stackTrace": {
"callFrames": [
{
"functionName": "_convert_exception_for_method_call",
"scriptId": "6",
"url": "http://localhost:9400/dotnet.js",
"lineNumber": 2,
"columnNumber": 46776
},
{
"functionName": "_handle_exception_for_call",
"scriptId": "6",
"url": "http://localhost:9400/dotnet.js",
"lineNumber": 2,
"columnNumber": 47416
},
{
"functionName": "_debugger_test__TestHotReloadUsingSDB_RunMethod",
"scriptId": "36",
"url": "https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod",
"lineNumber": 24,
"columnNumber": 4
},
{
"functionName": "invoke_static_method",
"scriptId": "3",
"url": "http://localhost:9400/debugger-driver.html",
"lineNumber": 25,
"columnNumber": 10
},
{
"functionName": "",
"scriptId": "33",
"url": "",
"lineNumber": 0,
"columnNumber": 31
}
]
},
"exception": {
"type": "object",
"subtype": "error",
"className": "Error",
"description": "Error: System.NullReferenceException: Object reference not set to an instance of an object.\n at TestHotReloadUsingSDB.RunMethod(String className, String methodName) in /_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs:line 990\n at _convert_exception_for_method_call (http://localhost:9400/dotnet.js:3:46777)\n at _handle_exception_for_call (http://localhost:9400/dotnet.js:3:47417)\n at _debugger_test__TestHotReloadUsingSDB_RunMethod (https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod:25:5)\n at invoke_static_method (http://localhost:9400/debugger-driver.html:26:11)\n at <anonymous>:1:32",
"objectId": "3464803935764391451.1.57",
"preview": {
"type": "object",
"subtype": "error",
"description": "Error: System.NullReferenceException: Object reference not set to an instance of an object.\n at TestHotReloadUsingSDB.RunMethod(String className, String methodName) in /_/src/mono/wasm/debugger/tests/debugger-test/debugger-test.cs:line 990\n at _convert_exception_for_method_call (http://localhost:9400/dotnet.js:3:46777)\n at _handle_exception_for_call (http://localhost:9400/dotnet.js:3:47417)\n at _debugger_test__TestHotReloadUsingSDB_RunMethod (https://mono-wasm.invalid/_debugger_test__TestHotReloadUsingSDB_RunMethod:25:5)\n at invoke_static_method (http://localhost:9400/debugger-driver.html:26:11)\n at <anonymous>:1:32",
"overflow": false,
"properties": [
{
"name": "stack",
"type": "string",
"value": "Error: System.NullReferenceException: Object refer…bugger-driver.html:26:11)\n at <anonymous>:1:32"
},
{
"name": "message",
"type": "string",
"value": "System.NullReferenceException: Object reference no…ger/tests/debugger-test/debugger-test.cs:line 990"
}
]
}
},
"executionContextId": 1
},
"__forMethod": "Runtime.exceptionThrown"
}
Stack Trace:
at DebuggerTests.DebuggerTestBase.LoadAssemblyAndTestHotReloadUsingSDBWithoutChanges(String asm_file, String pdb_file, String class_name, String method_name) in /_/src/mono/wasm/debugger/DebuggerTestSuite/DebuggerTestBase.cs:line 1276
at DebuggerTests.BreakpointTests.DebugHotReloadMethodUnchangedUsingSDB() in /_/src/mono/wasm/debugger/DebuggerTestSuite/BreakpointTests.cs:line 756
--- End of stack trace from previous location ---