AL icon indicating copy to clipboard operation
AL copied to clipboard

System.AggregateException: One or more errors occurred. (Cannot call {nameof(Enqueue)} when the queue is already completed.)

Open DavidFeldhoff opened this issue 3 years ago • 0 comments

1. Describe the bug Sorry for this poor description as well, I'm just trying to log some errors hoping you can see something in the callstack. But unfortunately I don't know anymore what it was and how critical it was.

10/10/2022 11:12:27 [/1] Editor Services Host v10.0.10.32310 starting (pid 5772)...
10/10/2022 11:12:28 [/1] Editor Services Host started!
10/10/2022 11:13:00 [/14] Please report this issue to https://github.com/microsoft/al/issues including information on how to reproduce it, if possible.
Processing of message 'al/gotodefinition' failed with error: 'Value cannot be null. (Parameter 'projectId')'
Details:
System.ArgumentNullException: Value cannot be null. (Parameter 'projectId')
   at Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces.Solution.GetProject(ProjectId projectId) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis.Workspaces\Workspace\Solution\Solution.cs:line 280
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.ReferenceSymbolDefinitionManager.EnsureCompilationContextIsSet(CancellationToken token) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\ReferenceSymbolDefinitionManager.cs:line 162
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.ReferenceSymbolDefinitionManager.GetDefinitionForSymbolAtPositionAsync(Uri previewUri, Position requestPosition, LaunchConfiguration configuration, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\ReferenceSymbolDefinitionManager.cs:line 98
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.AlDefinitionRequestHandler.ProcessRequestAsync(AlDefinitionRequest request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\AlDefinitionRequestHandler.cs:line 51
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.LanguageServer.Extensions.NavServerRequestHandler`2.HandleAsync(T request, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\LanguageServer\Extensions\NavServerRequestHandler.cs:line 40
   at Microsoft.Dynamics.Nav.EditorServices.Protocol.MessageProtocol.RequestHandlerBase`1.HandleAsync(JToken requestContents, Int32 requestId, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.EditorServices.Protocol\MessageProtocol\RequestHandlerBase.cs:line 84
   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 86

10/10/2022 11:14:18 [/35] Sending request to [redacted]/dev/metadata?tenant=default with request ID dbfda038-3ddd-4a52-82b8-1daf7ce5a969 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:20 [/47] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Application&versionText=21.0.0.0&appId=00000000-0000-0000-0000-000000000000&tenant=default with request ID 655904f2-7d70-4268-9fbf-b056d326794e and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=System&versionText=21.0.0.0&appId=8874ed3a-0643-4247-9ced-7a7002f7135d&tenant=default with request ID 45e23bcf-7c86-4733-8a11-fd65c72070b1 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Library Assert&versionText=20.0.0.0&appId=dd0be2ea-f733-4d65-bb34-a28f4624fb14&tenant=default with request ID 79b5ca83-4816-4cad-88f3-02899c52496e and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Any&versionText=20.0.0.0&appId=e7320ebb-08b3-4406-b1ec-b4927d3e280b&tenant=default with request ID d4e6fd48-ba76-4163-b36b-84802abbc6e5 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Tests-TestLibraries&versionText=20.0.0.0&appId=5d86850b-0d76-4eca-bd7b-951ad998e997&tenant=default with request ID 6baa904e-90c8-4890-a337-3e77ef35f1ee and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Test Runner&versionText=20.0.0.0&appId=23de40a6-dfe8-4f80-80db-d70f83ce8caf&tenant=default with request ID d8290243-3b1d-4b31-82cf-ad2314340bc1 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=System Application Test Library&versionText=20.0.0.0&appId=9856ae4f-d1a7-46ef-89bb-6ef056398228&tenant=default with request ID a89a5233-ea84-4785-8fa9-5d47c6c2fd5b and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=GWS mbH&appName=[redacted]&versionText=20.0.0.0&appId=[redacted]&tenant=default with request ID acae6c4c-e97f-4f69-b17d-2ef0429c586e and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=GWS mbH&appName=[redacted]&versionText=20.0.0.0&appId=[redacted]&tenant=default with request ID d080912b-4152-4cdd-9b05-6debb75c8014 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=GWS mbH&appName=[redacted]&versionText=20.0.0.0&appId=[redacted]&tenant=default with request ID 41396d0b-99f6-4d6c-bcd1-ebe218afe9cf and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Library Variable Storage&versionText=20.0.0.0&appId=5095f467-0a01-4b99-99d1-9ff1237d286f&tenant=default with request ID 074a0a57-453e-4b08-ab47-9d90385c316a and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=GWS mbH&appName=[redacted]&versionText=20.0.0.0&appId=[redacted]&tenant=default with request ID 74abd0cb-c460-4bf4-9e66-2cecc931b246 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:23 [/24] Sending request to [redacted]/dev/packages?publisher=GWS mbH&appName=[redacted]&versionText=20.0.0.0&appId=[redacted]&tenant=default with request ID d85e0e46-b97b-409e-aee6-f144971a8e12 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:32 [/28] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=System Application&versionText=21.0.0.0&appId=63ca2fa4-4f03-4f2b-a480-172fef340d3f&tenant=default with request ID 63ded8af-b9ca-457c-ab78-8d9d6fe0a6c7 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:32 [/28] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Base Application&versionText=21.0.0.0&appId=437dbf0e-84ff-417a-965d-ed2bb9650972&tenant=default with request ID 5a671a85-8e1f-4586-9a83-30a4f515b9a9 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:32 [/28] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Permissions Mock&versionText=21.0.0.0&appId=40860557-a18d-42ad-aecb-22b7dd80dc80&tenant=default with request ID ae7201f6-2cf2-4027-87e3-ae30bd024b44 and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:14:32 [/28] Sending request to [redacted]/dev/packages?publisher=Microsoft&appName=Application&versionText=21.0.0.0&appId=c1335042-3002-4257-bf8a-75c898ccb1b8&tenant=default with request ID af691a10-493a-4d5c-8322-b2dc94be55ff and session ID 19deeb19-b9e6-4ec3-87b2-fa5f556a8871
10/10/2022 11:15:40 [/20] System.AggregateException: One or more errors occurred. (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.) (Cannot call {nameof(Enqueue)} when the queue is already completed.)
 ---> System.InvalidOperationException: Cannot call {nameof(Enqueue)} when the queue is already completed.
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 485
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType, IDictionary`2 emittedMethodsDictionary) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 311
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 173
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.VisitObjectType(ObjectTypeSymbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 159
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass11_0.<CompileModule>b__0(Symbol memberSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 135
   --- End of inner exception stack trace ---
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileModule(ModuleSymbol moduleSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 140
   at Microsoft.Dynamics.Nav.CodeAnalysis.Compilation.GetDiagnostics(CompilationStage stage, Boolean includeEarlierStages, CancellationToken cancellationToken) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compilation\Compilation.cs:line 694
 ---> (Inner Exception #1) System.InvalidOperationException: Cannot call {nameof(Enqueue)} when the queue is already completed.
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 485
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType, IDictionary`2 emittedMethodsDictionary) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 311
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 173
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.VisitObjectType(ObjectTypeSymbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 159
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass11_0.<CompileModule>b__0(Symbol memberSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 135<---

 ---> (Inner Exception #2) System.InvalidOperationException: Cannot call {nameof(Enqueue)} when the queue is already completed.
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 485
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType, IDictionary`2 emittedMethodsDictionary) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 311
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 173
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.VisitObjectType(ObjectTypeSymbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 159
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass11_0.<CompileModule>b__0(Symbol memberSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 135<---

 ---> (Inner Exception #3) System.InvalidOperationException: Cannot call {nameof(Enqueue)} when the queue is already completed.
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 485
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType, IDictionary`2 emittedMethodsDictionary) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 311
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 173
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.VisitObjectType(ObjectTypeSymbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 159
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass11_0.<CompileModule>b__0(Symbol memberSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 135<---

...

---> (Inner Exception #2275) System.InvalidOperationException: Cannot call {nameof(Enqueue)} when the queue is already completed.
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMethod(MethodSymbol methodSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 485
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType, IDictionary`2 emittedMethodsDictionary) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 311
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileMembers(ContainerSymbol containingType, IDictionary`2 emittedMethodsDictionary) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 334
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.CompileObject(ObjectTypeSymbol containingType) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 173
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.VisitObjectType(ObjectTypeSymbol symbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 159
   at Microsoft.Dynamics.Nav.CodeAnalysis.MethodCompiler.<>c__DisplayClass11_0.<CompileModule>b__0(Symbol memberSymbol) in D:\a\1\s\source\Prod\Microsoft.Dynamics.Nav.CodeAnalysis\Compiler\MethodCompiler.cs:line 135<---

2. To Reproduce No clue, sorry..

3. Expected behavior seemless working extension

4. Actual behavior .

5. Versions:

  • AL Language: v10.0.687650
  • Visual Studio Code: v1.72.0

DavidFeldhoff avatar Oct 12 '22 14:10 DavidFeldhoff