.getHistoricDetailManager()
.findHistoricDetailsByQueryCriteria(this, page);
if (historicDetails!=null) {
for (HistoricDetail historicDetail: historicDetails) {
if (historicDetail instanceof HistoricDetailVariableInstanceUpdateEntity) {
HistoricDetailVariableInstanceUpdateEntity entity = (HistoricDetailVariableInstanceUpdateEntity) historicDetail;
// do not fetch values for byte arrays eagerly (unless requested by the user)
if (shouldFetchSerializedValueFor(entity)) {
try {
entity.getSerializedValue();
if (shouldFetchValueFor(entity)) {
entity.getValue();
}
} catch(Exception t) {
// do not fail if one of the variables fails to load
LOGGER.log(Level.FINE, "Exception while getting value for variable", t);