when running the proxy table command as below,
PS C://Users//SK//.vscode//extensions//ms-dynamics-smb.al-12.5.914975//bin> .//altpgen -project:/C://Users//SK//Documents//AL//TestComp/ -packagecachepath:/C://Users//SK//Documents//AL//TestComp//.alpackages/ -serviceuri:https://abc.crm3.dynamics.com// -entities:msdyn_functionallocation -tabletype:CDS
It gives below error,
Authenticating Dataverse using ServiceUri=https://abc.crm3.dynamics.com/
Authenticated.
Retrieving entity metadata.
System.NullReferenceException: Object reference not set to an instance of an object.
at System.Collections.Immutable.ImmutableArray`1.get_Length()
at Microsoft.Dynamics.Nav.TableProxyGenerator.BuilderBase.CalcDataType(XrmEntityAttribute attr) in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//BuilderBase.cs:line 456
at Microsoft.Dynamics.Nav.TableProxyGenerator.BuilderBase.AddNormalField(XrmEntityAttribute attr) in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//BuilderBase.cs:line 84
at Microsoft.Dynamics.Nav.TableProxyGenerator.BuilderBase.BuildFields() in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//BuilderBase.cs:line 56
at Microsoft.Dynamics.Nav.TableProxyGenerator.BuildContext.BuildFields() in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//BuildContext.cs:line 140
at Microsoft.Dynamics.Nav.TableProxyGenerator.TableProxyGeneratorTool.RunCore(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//TableProxyGeneratorTool.cs:line 62
at Microsoft.Dynamics.Nav.CodeAnalysis.CompilationDependentTool.Run(CompilerTextWriter consoleOutput, ErrorLogger errorLogger, CancellationToken cancellationToken) in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//CompilationDependentTool.cs:line 125
at Microsoft.Dynamics.Nav.CodeAnalysis.CompilationDependentTool.Run(CompilerTextWriter consoleOutput, CancellationToken cancellationToken) in D://a//_work//1//s//source//Prod//Microsoft.Dynamics.Nav.TableProxyGenerator//CompilationDependentTool.cs:line 77
at Microsoft.Dynamics.Nav.TableProxyGenerator.TableProxyGeneratorCommandLineTool.Run(String clientDirectory, String baseDirectory, String[] args) in D://a//_work//1//s//source//Prod//altpgen//TableProxyGeneratorCommandLineTool.cs:line 29
Any experts can tell what is this error?
Note: table names are correct with case sensitive.
Thanks.