Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

System.CodeDom.Tests failed with System.NullReferenceException : Object reference not set to an instance of an object #53055

Closed
VincentBu opened this issue May 21, 2021 · 3 comments
Labels
arch-arm64 area-System.CodeDom os-linux Linux OS (any supported distro) os-windows untriaged New issue has not been triaged by the area owner

Comments

@VincentBu
Copy link

Run: runtime 20210520.95

Failed tests:

net6.0-Linux-Release-arm64-CoreCLR_checked-(Alpine.312.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-arm64v8-20200602002604-25f8a3e

- System.CodeDom.Tests.CodeTypeParameterCollectionTests.AddRange_CodeStatementArray_Works
- System.CodeDom.Tests.CodeTypeParameterCollectionTests.AddRange_CodeStatementCollection_Works
- System.CodeDom.Tests.CodeTypeParameterCollectionTests.Ctor_Array_Works
- System.CodeDom.Tests.CodeTypeParameterCollectionTests.Ctor_CodeStatementCollection_Works

net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open

- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.AddRange_CodeStatementArray_Works
- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.AddRange_CodeStatementCollection_Works
- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.Ctor_Array_Works
- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.Ctor_CodeStatementCollection_Works

One of Error messages:

System.NullReferenceException : Object reference not set to an instance of an object.


Stack trace
   at System.CodeDom.Tests.CodeCollectionTestBase`2.AddRange_TestData() in System.CodeDom.Tests.dll:token 0x6000423+0x0
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged New issue has not been triaged by the area owner label May 21, 2021
@ghost
Copy link

ghost commented May 21, 2021

Tagging subscribers to this area: @buyaa-n, @krwq
See info in area-owners.md if you want to be subscribed.

Issue Details

Run: runtime 20210520.95

Failed tests:

net6.0-Linux-Release-arm64-CoreCLR_checked-(Alpine.312.Arm64.Open)Ubuntu.1804.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:alpine-3.12-helix-arm64v8-20200602002604-25f8a3e

- System.CodeDom.Tests.CodeTypeParameterCollectionTests.AddRange_CodeStatementArray_Works
- System.CodeDom.Tests.CodeTypeParameterCollectionTests.AddRange_CodeStatementCollection_Works
- System.CodeDom.Tests.CodeTypeParameterCollectionTests.Ctor_Array_Works
- System.CodeDom.Tests.CodeTypeParameterCollectionTests.Ctor_CodeStatementCollection_Works

net6.0-windows-Release-arm64-CoreCLR_release-Windows.10.Arm64.Open

- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.AddRange_CodeStatementArray_Works
- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.AddRange_CodeStatementCollection_Works
- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.Ctor_Array_Works
- System.CodeDom.Tests.CodeAttributeArgumentCollectionTests.Ctor_CodeStatementCollection_Works

One of Error messages:

System.NullReferenceException : Object reference not set to an instance of an object.


Stack trace
   at System.CodeDom.Tests.CodeCollectionTestBase`2.AddRange_TestData() in System.CodeDom.Tests.dll:token 0x6000423+0x0
Author: VincentBu
Assignees: -
Labels:

arch-arm64, area-System.CodeDom, os-linux, os-windows

Milestone: -

@ghost ghost added this to Needs triage in Triage POD for Meta, Reflection, etc May 21, 2021
@VincentBu
Copy link
Author

VincentBu commented May 24, 2021

Also failed in MonoTests and System.Collections.Generic.Tests

Run: runtime-coreclr libraries-jitstress 20210523.1 and runtime-coreclr libraries-jitstress2-jitstressregs 20210522.1

Failed tests:

- MonoTests.System.Data.EnumerableRowCollectionTest.ThenBy
- MonoTests.System.Data.EnumerableRowCollectionTest.QueryWhereSelectOrderBy
- MonoTests.System.Data.EnumerableRowCollectionTest.ThenByDescending
- MonoTests.System.Data.EnumerableRowCollectionTest.QueryWhereSelectOrderByDescending
- MonoTests.System.Data.EnumerableRowCollectionTest.QueryWhereSelect
- System.Collections.Generic.Tests.LargeArrayBuilderTestsInt32.AddCountAndToArray
- System.Collections.Generic.Tests.LargeArrayBuilderTestsInt32.AddRange
- System.Collections.Generic.Tests.LargeArrayBuilderTestsInt32.CopyTo
- System.Collections.Generic.Tests.LargeArrayBuilderTestsInt32.MaxCapacity
- System.CodeDom.Tests.CodeExpressionCollectionTests.AddRange_CodeStatementArray_Works
- System.CodeDom.Tests.CodeExpressionCollectionTests.AddRange_CodeStatementCollection_Works
- System.CodeDom.Tests.CodeExpressionCollectionTests.Ctor_Array_Works
- System.CodeDom.Tests.CodeExpressionCollectionTests.Ctor_CodeStatementCollection_Works

Error message:

System.NullReferenceException : Object reference not set to an instance of an object.


Stack trace
   at System.Data.DataRowExtensions.UnboxT`1.ReferenceField(Object value) in /_/src/libraries/System.Data.Common/src/System/Data/DataRowExtensions.cs:line 163
   at System.Data.DataRowExtensions.Field[T](DataRow row, String columnName) in /_/src/libraries/System.Data.Common/src/System/Data/DataRowExtensions.cs:line 25
   at MonoTests.System.Data.EnumerableRowCollectionTest.<>c.<ThenBy>b__5_3(DataRow line) in /_/src/libraries/System.Data.DataSetExtensions/tests/Mono/EnumerableRowCollectionTest.cs:line 161
   at System.Linq.Enumerable.SelectEnumerableIterator`2.MoveNext() in /_/src/libraries/System.Linq/src/System/Linq/Select.cs:line 138
   at MonoTests.System.Data.EnumerableRowCollectionTest.ThenBy() in /_/src/libraries/System.Data.DataSetExtensions/tests/Mono/EnumerableRowCollectionTest.cs:line 166

@danmoseley
Copy link
Member

Good bug report but I'll dupe against #53042 where there's discussion.

Triage POD for Meta, Reflection, etc automation moved this from Needs triage to Done May 25, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Jun 24, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm64 area-System.CodeDom os-linux Linux OS (any supported distro) os-windows untriaged New issue has not been triaged by the area owner
Projects
No open projects
Development

No branches or pull requests

2 participants