AL icon indicating copy to clipboard operation
AL copied to clipboard

While trying to download symbols in BC 16 with Al language v5.0

Open VishnuVelmurugan opened this issue 1 year ago • 1 comments

Processing of message 'al/downloadSymbols' failed with error: 'Object reference not set to an instance of an object.' Details: System.NullReferenceException: Object reference not set to an instance of an object. at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.DownloadSymbolsRequestHandler.ProcessRequestAsync(DownloadSymbolsRequest request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\DownloadSymbolsRequestHandler.cs:line 45 at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.NavServerRequestHandler1.HandleAsync(T request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\NavServerRequestHandler.cs:line 38 at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase1.HandleAsync(JToken requestContents, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 54 at Microsoft.Dynamics.Nav.EditorServices.Protocol.RequestRegistry.Process(Message message) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\Endpoints\RequestRegistry.cs:line 80

launch Json provided

{ "version": "0.2.0", "configurations": [ { "type": "al", "request": "launch", "name": "Your own server", "server": "http://localhost", "serverInstance": "BC160", "authentication": "UserPassword", "startupObjectId": 22, "startupObjectType": "Page", "breakOnError": true, "launchBrowser": true, "enableLongRunningSqlStatements": true, "enableSqlInformationDebugger": true } ] }

Al language Version: Version 5.0.465995

Version: US Business Central 16.0 (Platform 16.0.11233.31159 + Application 16.0.11240.31204)

Image

VishnuVelmurugan avatar Oct 16 '24 05:10 VishnuVelmurugan

Hi, can you try to use a newer version of the AL language extension and letting us know if it still reproduces?

blrobl avatar Nov 24 '24 21:11 blrobl

No input given after 8 months. Closing for now, we can re-open if someone can confirm a repro and give more details

EmilDamsbo avatar Jul 24 '25 16:07 EmilDamsbo