String where = "where TIME BETWEEN " + start + " AND " + end
+ " ORDER BY " + CPUDBTable.TIME;
List<List<Object>> queryResult = cpuDBTable.selectData(null, where);
- if (queryResult == null) {
+ if (queryResult == null || AnalyzerManager.getProject() == null) {
return processedResult;
}
String where = "where TIME BETWEEN " + start + " AND " + end
+ " ORDER BY " + EnergyDBTable.TIME;
List<List<Object>> queryResult = energyDBTable.selectData(null, where);
- if (queryResult == null) {
+ if (queryResult == null || AnalyzerManager.getProject() == null) {
return processedResult;
}