diff --git a/src/ParamGetImpl/DDServerInterface/VirtualInstrumentInterval.cc b/src/ParamGetImpl/DDServerInterface/VirtualInstrumentInterval.cc index 52eba45..4cdac4e 100644 --- a/src/ParamGetImpl/DDServerInterface/VirtualInstrumentInterval.cc +++ b/src/ParamGetImpl/DDServerInterface/VirtualInstrumentInterval.cc @@ -166,6 +166,10 @@ namespace AMDA { unsigned int VirtualInstrumentInterval::writeNoData() { LOG4CXX_INFO(gLogger, "VirtualInstrumentInterval::writeNoData - " << _paramNameListForLog); + if (_currentTimeIntToProcess == _timeIntervalList.end()) { + return writeEmptyData(); + } + double crtStartTime = _currentTimeIntToProcess->_startTime; double crtStopTime = _currentTimeIntToProcess->_stopTime; -- libgit2 0.21.2