We get in 2 repos the following error (both in app.json)
[{
"resource": "XXX/app.json",
"owner": "generated_diagnostic_collection_name#2",
"code": "AD0001",
"severity": 4,
"message": "Analyzer 'ALCops.ApplicationCop.Analyzers.CaptionRequired' threw an exception of type 'System.NullReferenceException' with message 'System.NullReferenceException: Object reference not set to an instance of an object.\r\n at ALCops.Common.Extensions.SymbolInterfaceExtensions.IsObsolete(ISymbol symbol)\r\n at ALCops.Common.Extensions.AnalysisContextExtensions.IsObsolete(SymbolAnalysisContext context)\r\n at ALCops.ApplicationCop.Analyzers.CaptionRequired.CheckForMissingCaptions(SymbolAnalysisContext context)\r\n at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass50_2.b__0() in X:\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 665\r\n at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info) in X:\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1088'",
"source": "AL",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1,
"origin": "extHost1"
}]
We get in 2 repos the following error (both in app.json)
[{
"resource": "XXX/app.json",
"owner": "generated_diagnostic_collection_name#2",
"code": "AD0001",
"severity": 4,
"message": "Analyzer 'ALCops.ApplicationCop.Analyzers.CaptionRequired' threw an exception of type 'System.NullReferenceException' with message 'System.NullReferenceException: Object reference not set to an instance of an object.\r\n at ALCops.Common.Extensions.SymbolInterfaceExtensions.IsObsolete(ISymbol symbol)\r\n at ALCops.Common.Extensions.AnalysisContextExtensions.IsObsolete(SymbolAnalysisContext context)\r\n at ALCops.ApplicationCop.Analyzers.CaptionRequired.CheckForMissingCaptions(SymbolAnalysisContext context)\r\n at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.<>c__DisplayClass50_2.b__0() in X:\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 665\r\n at Microsoft.Dynamics.Nav.CodeAnalysis.Diagnostics.AnalyzerExecutor.ExecuteAndCatchIfThrows_NoLock(DiagnosticAnalyzer analyzer, Action analyze, Nullable`1 info) in X:\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\DiagnosticAnalyzer\AnalyzerExecutor.cs:line 1088'",
"source": "AL",
"startLineNumber": 1,
"startColumn": 1,
"endLineNumber": 1,
"endColumn": 1,
"origin": "extHost1"
}]