return result;
}
// iterate over the result array to initialize the value and serialized value of the variable
for (VariableInstance variableInstance : result) {
VariableInstanceEntity variableInstanceEntity = (VariableInstanceEntity) variableInstance;
if (shouldFetchSerializedValueFor(variableInstanceEntity)) {
try {
variableInstanceEntity.getSerializedValue();
if (shouldFetchValueFor(variableInstanceEntity)) {
variableInstanceEntity.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);