Skip to content

Fix for types derived from un-namespaced types. #26

Fix for types derived from un-namespaced types.

Fix for types derived from un-namespaced types. #26

Re-run triggered April 6, 2024 06:23
Status Success
Total duration 4m 37s
Artifacts

codeql.yml

on: pull_request
Matrix: Analyze
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 warnings
Microsoft.JavaScript.NodeApi.Test.NativeAotTests ► Test(id: "napi-dotnet/no_namespace_type"): test/TestBuilder.cs#L321
Failed test found in: test/net8.0-node18.x-Release/_Mac-1712384240127_2024-04-06_06_27_29.trx Error: Assert.Fail(): /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 Node.js v18.20.0 Node process exited with code: 1. /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 Node.js v18.20.0 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/aot-no_namespace_type.log
Microsoft.JavaScript.NodeApi.Test.NativeAotTests ► Test(id: "napi-dotnet/no_namespace_type"): test/TestBuilder.cs#L321
Failed test found in: test/net8.0-node20.x-Release/runneradmin_fv-az521-57_2024-04-06_06_26_22.trx Error: Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.0 Node process exited with code: 1. D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.0 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-no_namespace_type.log
Microsoft.JavaScript.NodeApi.Test.NativeAotTests ► Test(id: "napi-dotnet/no_namespace_type"): test/TestBuilder.cs#L321
Failed test found in: test/net8.0-node18.x-Release/runneradmin_fv-az521-57_2024-04-06_06_26_30.trx Error: Assert.Fail(): D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 Node.js v18.20.0 Node process exited with code: 1. D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (D:\a\node-api-dotnet\node-api-dotnet\test\TestCases\napi-dotnet\no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1364:14) at Module._extensions..js (node:internal/modules/cjs/loader:1422:10) at Module.load (node:internal/modules/cjs/loader:1203:32) at Module._load (node:internal/modules/cjs/loader:1019:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12) at node:internal/main/run_main_module:28:49 Node.js v18.20.0 Full output: D:\a\node-api-dotnet\node-api-dotnet\out\obj\Release\TestCases\napi-dotnet\net8.0\aot-no_namespace_type.log
Microsoft.JavaScript.NodeApi.Test.NativeAotTests ► Test(id: "napi-dotnet/no_namespace_type"): test/TestBuilder.cs#L321
Failed test found in: test/net8.0-node20.x-Release/_Mac-1712384250204_2024-04-06_06_27_09.trx Error: Assert.Fail(): /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.0 Node process exited with code: 1. /Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (/Users/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.0 Full output: /Users/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/aot-no_namespace_type.log
Microsoft.JavaScript.NodeApi.Test.NativeAotTests ► Test(id: "napi-dotnet/no_namespace_type"): test/TestBuilder.cs#L321
Failed test found in: test/net8.0-node20.x-Release/_fv-az849-619_2024-04-06_06_24_33.trx Error: Assert.Fail(): /home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.0 Node process exited with code: 1. /home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10 dotnet.load(assemblyPath); ^ TypeError: Cannot read properties of undefined (reading 'load') at Object.<anonymous> (/home/runner/work/node-api-dotnet/node-api-dotnet/test/TestCases/napi-dotnet/no_namespace_type.js:10:8) at Module._compile (node:internal/modules/cjs/loader:1369:14) at Module._extensions..js (node:internal/modules/cjs/loader:1427:10) at Module.load (node:internal/modules/cjs/loader:1206:32) at Module._load (node:internal/modules/cjs/loader:1022:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 Node.js v20.12.0 Full output: /home/runner/work/node-api-dotnet/node-api-dotnet/out/obj/Release/TestCases/napi-dotnet/net8.0/aot-no_namespace_type.log
Analyze (csharp): test/TestCases/napi-dotnet/ComplexTypes.cs#L258
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Analyze (csharp): test/TestCases/napi-dotnet/NoNamespaceTypes.cs#L49
Non-nullable property 'DelegateProperty' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.
Analyze (csharp): test/TestCases/napi-dotnet/ComplexTypes.cs#L258
Nullability of type of parameter 'obj' doesn't match overridden member (possibly because of nullability attributes).
Analyze (csharp): test/TestCases/napi-dotnet/NoNamespaceTypes.cs#L49
Non-nullable property 'DelegateProperty' must contain a non-null value when exiting constructor. Consider declaring the property as nullable.