-
Notifications
You must be signed in to change notification settings - Fork 272
Open
Description
Please include the following with each issue:
1. Describe the bug
When trying to create a new bcpt project the creation instantly fails.
Big improvement would be to separate the under the hood commands, like the bcpt deploy. It would be easier if I could just run the the powershell to install the app file myself.
2. To Reproduce
Steps to reproduce the behavior:
- open vs code
- f1
- bcpt
- select setup new
- docker
- pick desired (running) container
- get error
{
"errorCode": -1,
"stackTrace": "at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
at ManagementEndpoint.AdminServiceConnectionFactory.FromDockerInstance(DockerBCInstance instance) in D:\\a\\_work\\1\\s\\src\\BCPTService\\ManagementEndpoint\\AdminServiceConnectionFactory.cs:line 23
at BCPTLibrary.Docker.DockerDiscovery.GetEnvironments(DockerBCInstance instance, CancellationToken cancellationToken) in D:\\a\\_work\\1\\s\\src\\BCPTService\\BCPTLibrary\\Docker\\DockerDiscovery.cs:line 70
at BCPTService.Commands.Base.EnvironmentCommandBase.<GetEnvironments>d__17.MoveNext() in D:\\a\\_work\\1\\s\\src\\BCPTService\\BCPTService\\Commands\\Base\\EnvironmentCommandBase.cs:line 64
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at BCPTService.Commands.ListEnvironmentsCommand.<Execute>d__5.MoveNext() in D:\\a\\_work\\1\\s\\src\\BCPTService\\BCPTService\\Commands\\ListEnvironmentsCommand.cs:line 26
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at BCPTService.CLI.CommandLineService.<Execute>d__3.MoveNext() in D:\\a\\_work\\1\\s\\src\\BCPTService\\BCPTService\\CLI\\CommandLineService.cs:line 33",
"message": "Sequence contains no matching element",
"data": {},
"hResult": -2146233088
}
3. Expected behavior
Don't error
4. Actual behavior
Errors
5. Versions:
- AL Language: 16.2.1869542
- Visual Studio Code: 1.106.3 (system setup)
- BCPT: 1.0.1857523
- Business Central: 26.0
- List of Visual Studio Code extensions that you have installed: al, bcpt
- Operating System:
- Windows
- Linux
- MacOS
Final Checklist
Please remember to do the following:
-
Search the issue repository to ensure you are reporting a new issue
-
Reproduce the issue after disabling all extensions except the AL Language extension
-
Simplify your code around the issue to better isolate the problem
Metadata
Metadata
Assignees
Labels
No labels