ironmansoftware / universal-automation

Universal Automation is the PowerShell-first automation platform.
https://ironmansoftware.com/universal-automation/
MIT License
24 stars 4 forks source link

Error executing job with PS Version set #34

Closed adamdriscoll closed 4 years ago

adamdriscoll commented 4 years ago
[16:56:22 INF] Invoking script 1, Identity: admin
[16:56:22 INF] Job 3 started.
[16:56:22 VRB] Checking 3 for canceled job.
[16:56:23 DBG] Job 3 bound to port 8511.
[16:56:23 VRB] Update UniversalAutomation.Job - 3
[16:56:24 INF] Error executing job 3: Sequence contains no matching element    at System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
   at UniversalAutomation.ExecutionService.ExecutePowerShell(Script script, IEnumerable`1 parameters, Job job, Int32 port)
   at UniversalAutomation.ExecutionService.<TryExecute>d__10.MoveNext()
--- 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 UniversalAutomation.ExecutionService.<Execute>d__9.MoveNext() System.InvalidOperationException
[16:56:24 VRB] Update UniversalAutomation.Job - 3