gitlab #9
Change-Id: I2a5894b73a638aad3e05ee42d0b10e40d60f3270
IExperiment exp = (IExperiment) run.getPropertyValue(graph, "iExperiment");
ITrendSupport support = exp.getService(ITrendSupport.class);
ChartData data = support.getChartData();
- return createHistorySamplerItem2(graph, subscriptionItem, data);
+ return data != null ? createHistorySamplerItem2(graph, subscriptionItem, data) : null;
}
public static HistorySamplerItem2 createHistorySamplerItem2(ReadGraph graph, Resource subscriptionItem, ChartData data) throws DatabaseException {