On server without display, Hop Server throws error in status
@@ -1162,6 +1162,11 @@ public class TestingGuiPlugin {
}
public static final PipelineUnitTest getCurrentUnitTest(PipelineMeta pipelineMeta) {
+ // When rendering a pipeline on a server status page we never have a current unit test
+ //
+ if ("Server".equalsIgnoreCase(Const.getHopPlatformRuntime())) {
+ return null;
+ }
Map<String, Object> stateMap = getStateMap(pipelineMeta);
if (stateMap == null) {
return null;
