Refactor native APIs #202
test results (windows-latest, node18.x, Release) ❌
Report | Passed | Failed | Skipped | Time |
---|---|---|---|---|
test/dotnet6-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_07_14.trx | 41✅ | 5⚪ | 116s | |
test/dotnet8-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_09_12.trx | 66✅ | 5⚪ | 152s | |
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx | 1✅ | 26❌ | 5⚪ | 36s |
✅ test/dotnet6-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_07_14.trx
46 tests were completed in 116s with 41 passed, 0 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 36s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4✅ | 79s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 4⚪ | 4ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 9✅ | 40ms |
✅ test/dotnet8-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_09_12.trx
71 tests were completed in 152s with 66 passed, 0 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 28✅ | 33s | ||
Microsoft.JavaScript.NodeApi.Test.JSProjectTests | 4✅ | 77s | ||
Microsoft.JavaScript.NodeApi.Test.NativeAotTests | 25✅ | 41s | ||
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 4⚪ | 4ms | ||
Microsoft.JavaScript.NodeApi.Test.TypeDefsGeneratorTests | 9✅ | 49ms |
❌ test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
32 tests were completed in 36s with 1 passed, 26 failed and 5 skipped.
Test suite | Passed | Failed | Skipped | Time |
---|---|---|---|---|
Microsoft.JavaScript.NodeApi.Test.GCTests | 1⚪ | 1ms | ||
Microsoft.JavaScript.NodeApi.Test.HostedClrTests | 1✅ | 26❌ | 33s | |
Microsoft.JavaScript.NodeApi.Test.NodejsEmbeddingTests | 4⚪ | 4ms |
❌ Microsoft.JavaScript.NodeApi.Test.HostedClrTests
❌ Test(id: "edgejs-perf/measure-latency")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\edgejs-perf\measure-latency.js:11:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\edgejs-perf\measure-latency.js:11:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\edgejs-perf\net472\hosted-measure-latency.log
❌ Test(id: "napi-dotnet-init/custom_export")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_export.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_export.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet-init\net472\hosted-custom_export.log
❌ Test(id: "napi-dotnet-init/custom_init")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_init.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_init.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet-init\net472\hosted-custom_init.log
❌ Test(id: "napi-dotnet/async_methods")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\async_methods.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\async_methods.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-async_methods.log
❌ Test(id: "napi-dotnet/complex_types")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\complex_types.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\complex_types.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-complex_types.log
❌ Test(id: "napi-dotnet/delegates")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\delegates.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\delegates.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-delegates.log
❌ Test(id: "napi-dotnet/dynamic_generics")
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_generics.log
❌ Test(id: "napi-dotnet/dynamic_invoke")
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_invoke.log
❌ Test(id: "napi-dotnet/dynamic_optional_params")
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_optional_params.log
❌ Test(id: "napi-dotnet/errors")
Assert.Fail(): Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-errors.log
❌ Test(id: "napi-dotnet/hello")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\hello.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\hello.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-hello.log
❌ Test(id: "napi-dotnet/module_class")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\module_class.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\module_class.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-module_class.log
❌ Test(id: "napi-dotnet/streams")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\streams.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\streams.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-streams.log
❌ Test(id: "node-addon-api/basic_types/array")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\array.js:7:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\array.js:7:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-array.log
❌ Test(id: "node-addon-api/basic_types/boolean")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\boolean.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\boolean.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-boolean.log
❌ Test(id: "node-addon-api/basic_types/number")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\number.js:9:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\number.js:9:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-number.log
❌ Test(id: "node-addon-api/basic_types/value")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\value.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\basic_types\value.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-value.log
❌ Test(id: "node-addon-api/object/delete_property")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\delete_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\delete_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-delete_property.log
❌ Test(id: "node-addon-api/object/finalizer")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\finalizer.js:9:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\finalizer.js:9:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-finalizer.log
❌ Test(id: "node-addon-api/object/get_property")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\get_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\get_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-get_property.log
❌ Test(id: "node-addon-api/object/has_own_property")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\has_own_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\has_own_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-has_own_property.log
❌ Test(id: "node-addon-api/object/has_property")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\has_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\has_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-has_property.log
❌ Test(id: "node-addon-api/object/object_freeze_seal")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\object_freeze_seal.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\object_freeze_seal.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-object_freeze_seal.log
❌ Test(id: "node-addon-api/object/object")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\object.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\object.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-object.log
❌ Test(id: "node-addon-api/object/set_property")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\set_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\set_property.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\node-addon-api\net472\hosted-set_property.log
❌ Test(id: "node-addon-api/object/subscript_operator")
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\subscript_operator.js:8:18)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\node-addon-api\object\subscript_operator.js:8:18)
Report exceeded GitHub limit of 65535 bytes and has been trimmed
Annotations
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\edgejs-perf\measure-latency.js:11:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\edgejs-perf\measure-latency.js:11:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\edgejs-perf\net472\hosted-measure-latency.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\edgejs-perf\measure-latency.js:11:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\edgejs-perf\measure-latency.js:11:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\edgejs-perf\net472\hosted-measure-latency.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_export")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_export.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_export.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet-init\net472\hosted-custom_export.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_export.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_export.js:8:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet-init\net472\hosted-custom_export.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_init")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_init.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_init.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet-init\net472\hosted-custom_init.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_init.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet-init\custom_init.js:6:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet-init\net472\hosted-custom_init.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/async_methods")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\async_methods.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\async_methods.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-async_methods.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\async_methods.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\async_methods.js:5:16)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-async_methods.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/complex_types")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\complex_types.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\complex_types.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-complex_types.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\complex_types.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\complex_types.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-complex_types.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/delegates")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\delegates.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\delegates.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-delegates.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\delegates.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\delegates.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-delegates.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_generics.log
Raw output
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_generics.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_generics.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_invoke.log
Raw output
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_invoke.js:9:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_invoke.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_optional_params")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_optional_params.log
Raw output
Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12
.initialize(dotnetVersion, dotnetHost.replace(/\.node$/, '.DotNetHost.dll'));
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\dynamic_optional_params.js:12:4)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:86:12)
at node:internal/main/run_main_module:23:47
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-dynamic_optional_params.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/errors")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-errors.log
Raw output
Assert.Fail(): Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-errors.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105
Check failure on line 274 in test/TestBuilder.cs
github-actions / test results (windows-latest, node18.x, Release)
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/hello")
Failed test found in:
test/netfx47-node18.x-Release/runneradmin_fv-az407-759_2023-10-12_04_06_24.trx
Error:
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\hello.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\hello.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-hello.log
Raw output
Assert.Fail(): at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\hello.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Node process exited with code: 1.
D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126
.initialize(
^
Error: String reference not set to an instance of a String.
Parameter name: s
at System.Text.Encoding.GetBytes(String s)
at Microsoft.JavaScript.NodeApi.Runtime.NodejsRuntime.CreateFunction(napi_env env, String name, napi_callback cb, IntPtr data, napi_value& result)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, napi_callback callback, IntPtr data)
at Microsoft.JavaScript.NodeApi.JSValue.CreateFunction(String name, JSCallback callback, Object callbackData)
at Microsoft.JavaScript.NodeApi.JSFunction..ctor(Func`1 callback)
at Microsoft.JavaScript.NodeApi.DotNetHost.Namespace..ctor(String name, Func`2 export)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.LoadAssemblyTypes(Assembly assembly)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost..ctor(JSObject exports)
at Microsoft.JavaScript.NodeApi.DotNetHost.ManagedHost.InitializeModule(String argument)
at exports.loadDotnetModule (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:126:8)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\common\index.js:142:27)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
at Module.load (node:internal/modules/cjs/loader:1119:32)
at Module._load (node:internal/modules/cjs/loader:960:12)
at Module.require (node:internal/modules/cjs/loader:1143:19)
at require (node:internal/modules/cjs/helpers:119:18)
at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\hello.js:7:17)
at Module._compile (node:internal/modules/cjs/loader:1256:14)
Node.js v18.18.0
Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net472\hosted-hello.log
at Microsoft.JavaScript.NodeApi.Test.TestBuilder.RunNodeTestCase(String jsFilePath, String logFilePath, IDictionary`2 testEnvironmentVariables) in D:\a\node-api-dotnet\node-api-dotnet\test\TestBuilder.cs:line 274
at Microsoft.JavaScript.NodeApi.Test.HostedClrTests.Test(String id) in D:\a\node-api-dotnet\node-api-dotnet\test\HostedClrTests.cs:line 105