No errors in either with console output.
%ProgramData%\PowerShellUniversal log I see…
2020-08-10T08:25:29.1590380+12:00 0HM1SJUE52J5Q:0000004A [INF] Request starting HTTP/1.1 GET http://servername.com/api/internal/component/element/Time (ca22a1cb)
2020-08-10T08:25:29.1594561+12:00 0HM1SJUE52J5Q:0000004A [INF] Executing endpoint ‘“UniversalDashboard.Controllers.ComponentController.Element (Universal.Server)”’ (500cc934)
2020-08-10T08:25:29.1595197+12:00 0HM1SJUE52J5Q:0000004A [INF] Route matched with “{action = “Element”, controller = “Component”}”. Executing controller action with signature “System.Threading.Tasks.Task1[Microsoft.AspNetCore.Mvc.IActionResult] Element(System.String)" on controller "UniversalDashboard.Controllers.ComponentController" ("Universal.Server"). (122b2fdf) 2020-08-10T08:25:29.1600019+12:00 0HM1SJUE52J5Q:0000004A [INF] Executed action "UniversalDashboard.Controllers.ComponentController.Element (Universal.Server)" in 0.451ms (afa2e885) 2020-08-10T08:25:29.1600558+12:00 0HM1SJUE52J5Q:0000004A [INF] Executed endpoint '"UniversalDashboard.Controllers.ComponentController.Element (Universal.Server)"' (99874f2b) 2020-08-10T08:25:29.1618118+12:00 0HM1SJUE52J5Q:0000004A [ERR] An unhandled exception has occurred while executing the request. (48a46595) System.NullReferenceException: Object reference not set to an instance of an object. at UniversalDashboard.Controllers.ComponentController.RunScript(String endpointId, Dictionary
2 parameters) in D:\a\universal\universal\src\Universal.Server\Controllers\ComponentController.cs:line 141
at UniversalDashboard.Controllers.ComponentController.Element(String id) in D:\a\universal\universal\src\Universal.Server\Controllers\ComponentController.cs:line 197
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync() --- End of stack trace from previous location where exception was thrown --- at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker) at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger) at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context) at Universal.Server.Middleware.RoutingMiddleware.Invoke(HttpContext httpContext, IPolicyEvaluator policyEvaluator) in D:\a\universal\universal\src\Universal.Server\Middleware\RoutingMiddleware.cs:line 88 at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext) at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context) at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task) 2020-08-10T08:25:29.1622187+12:00 0HM1SJUE52J5Q:0000004A [INF] /api/internal/component/element/Time (63040fa3) 2020-08-10T08:25:29.1623233+12:00 0HM1SJUE52J5Q:0000004A [INF] C:\ProgramData\PowerShellUniversal\Dashboard\Frameworks\UniversalDashboard\3.0.0\apiinternalcomponentelementTime (b802df94) 2020-08-10T08:25:29.1625522+12:00 0HM1SJUE52J5Q:0000004A [INF] Request finished in 3.5363ms 200 text/html (791a596a) 2020-08-10T08:25:29.6273508+12:00 0HM1SJUE52J6I:0000004A [INF] Request starting HTTP/1.1 GET http://servername.com/api/internal/component/element/Time (ca22a1cb) 2020-08-10T08:25:29.6277746+12:00 0HM1SJUE52J6I:0000004A [INF] Executing endpoint '"UniversalDashboard.Controllers.ComponentController.Element (Universal.Server)"' (500cc934) 2020-08-10T08:25:29.6278383+12:00 0HM1SJUE52J6I:0000004A [INF] Route matched with "{action = \"Element\", controller = \"Component\"}". Executing controller action with signature "System.Threading.Tasks.Task
1[Microsoft.AspNetCore.Mvc.IActionResult] Element(System.String)” on controller “UniversalDashboard.Controllers.ComponentController” (“Universal.Server”). (122b2fdf)
2020-08-10T08:25:29.6282439+12:00 0HM1SJUE52J6I:0000004A [INF] Executed action “UniversalDashboard.Controllers.ComponentController.Element (Universal.Server)” in 0.3748ms (afa2e885)
2020-08-10T08:25:29.6282982+12:00 0HM1SJUE52J6I:0000004A [INF] Executed endpoint ‘“UniversalDashboard.Controllers.ComponentController.Element (Universal.Server)”’ (99874f2b)
2020-08-10T08:25:29.6300296+12:00 0HM1SJUE52J6I:0000004A [ERR] An unhandled exception has occurred while executing the request. (48a46595)
System.NullReferenceException: Object reference not set to an instance of an object.
at UniversalDashboard.Controllers.ComponentController.RunScript(String endpointId, Dictionary2 parameters) in D:\a\universal\universal\src\Universal.Server\Controllers\ComponentController.cs:line 141 at UniversalDashboard.Controllers.ComponentController.Element(String id) in D:\a\universal\universal\src\Universal.Server\Controllers\ComponentController.cs:line 197 at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask
1 actionResultValueTask)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
— End of stack trace from previous location where exception was thrown —
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
— End of stack trace from previous location where exception was thrown —
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.g__Logged|17_1(ResourceInvoker invoker)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
at Universal.Server.Middleware.RoutingMiddleware.Invoke(HttpContext httpContext, IPolicyEvaluator policyEvaluator) in D:\a\universal\universal\src\Universal.Server\Middleware\RoutingMiddleware.cs:line 88
at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
2020-08-10T08:25:29.6304423+12:00 0HM1SJUE52J6I:0000004A [INF] /api/internal/component/element/Time (63040fa3)
2020-08-10T08:25:29.6305563+12:00 0HM1SJUE52J6I:0000004A [INF] C:\ProgramData\PowerShellUniversal\Dashboard\Frameworks\UniversalDashboard\3.0.0\apiinternalcomponentelementTime (b802df94)
2020-08-10T08:25:29.6307682+12:00 0HM1SJUE52J6I:0000004A [INF] Request finished in 3.4357ms 200 text/html (791a596a)