Open pri-kise opened 3 months ago
Me too.
I think I've found the reason for this Exception (I didn't test without an AppSourceCop.json file exists in the project).
@pri-kise and @tscottjendev , did this resolve the Exception?
I checked this project again and we have an AppSourceCop.json, but in this project we haven't specified the property mandatoryAffixes
, but the property mandatoryPrefix
.
Maybe this is the reason for the issue?
warning AD0001: Analyzer 'BusinessCentral.LinterCop.Design.Rule0054FollowInterfaceObjectNameGuide' threw an exception of type 'System.NullReferenceException' with message 'System.NullReferenceException: Object reference not set to an instance of an object.
at BusinessCentral.LinterCop.Design.Rule0054FollowInterfaceObjectNameGuide.GetAffixes(Compilation compilation)
at BusinessCentral.LinterCop.Design.Rule0054FollowInterfaceObjectNameGuide.PopulateListOfAffixes(CompilationStartAnalysisContext context)
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'
Update: I switched to MandatoryAffixes and now the error is gone.
Since today I receive the following error.
AL Language Extension: v14.0.1055126