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

AvoidUnusedPrivateFieldsAnalyzer NRE on dotnet/runtime CI #7372

Closed
kg opened this issue Aug 12, 2024 · 1 comment
Closed

AvoidUnusedPrivateFieldsAnalyzer NRE on dotnet/runtime CI #7372

kg opened this issue Aug 12, 2024 · 1 comment

Comments

@kg
Copy link
Member

kg commented Aug 12, 2024

  System.Runtime.Serialization.Schema -> /__w/1/s/artifacts/bin/System.Runtime.Serialization.Schema/Debug/net8.0/System.Runtime.Serialization.Schema.dll
CSC : error AD0001: Analyzer 'Microsoft.CodeQuality.Analyzers.Maintainability.AvoidUnusedPrivateFieldsAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'. [/__w/1/s/src/libraries/System.Linq/src/System.Linq.csproj::TargetFramework=net9.0-android]
##[error]CSC(0,0): error AD0001: (NETCORE_ENGINEERING_TELEMETRY=Build) Analyzer 'Microsoft.CodeQuality.Analyzers.Maintainability.AvoidUnusedPrivateFieldsAnalyzer' threw an exception of type 'System.NullReferenceException' with message 'Object reference not set to an instance of an object.'.
  System.Resources.Extensions -> /__w/1/s/artifacts/bin/System.Resources.Extensions/Debug/net462/System.Resources.Extensions.dll

https://github.com/dotnet/runtime/pull/106099/checks?check_run_id=28679396406

https://dev.azure.com/dnceng-public/public/_build/results?buildId=773446&view=logs&jobId=e80acbf0-bc87-577c-4c46-0016b0794913&j=e80acbf0-bc87-577c-4c46-0016b0794913&t=f0fa9d72-e49a-5249-4d28-1199014b9857

@kg
Copy link
Member Author

kg commented Aug 13, 2024

Looks like this is tracked by dotnet/dnceng#3305

@kg kg closed this as completed Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant