avoid NPE on test class button
add MetaDataProvider and remove check in XP
@@ -155,6 +155,7 @@ public class PipelinePreviewProgressDialog {
pipeline =
new LocalPipelineEngine(pipelineMeta, variables, HopGui.getInstance().getLoggingObject());
pipeline.setPreview(true);
+ pipeline.setMetadataProvider(HopGui.getInstance().getMetadataProvider());
// Prepare the execution...
//
