Refactor native APIs #202
Annotations
15 errors
build (ubuntu-latest, 18.x, Release)
Process completed with exit code 2.
|
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
|
build (windows-latest, 18.x, Release)
Process completed with exit code 1.
|
build (macos-latest, 18.x, Release)
Process completed with exit code 2.
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "edgejs-perf/measure-latency"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_export"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet-init/custom_init"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/async_methods"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/complex_types"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/delegates"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_generics"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_invoke"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/dynamic_optional_params"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/errors"):
test/TestBuilder.cs#L274
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
|
Microsoft.JavaScript.NodeApi.Test.HostedClrTests ► Test(id: "napi-dotnet/hello"):
test/TestBuilder.cs#L274
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
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
macos-latest-Release-packages
Expired
|
4.21 MB |
|
test-logs-macos-latest-node18.x-Release
Expired
|
4.91 MB |
|
test-logs-ubuntu-latest-node18.x-Release
Expired
|
4.83 MB |
|
test-logs-windows-latest-node18.x-Release
Expired
|
5.38 MB |
|
ubuntu-latest-Release-packages
Expired
|
4.17 MB |
|
windows-latest-Release-packages
Expired
|
4.48 MB |
|