.putValue("broken", Variables.serializedObjectValue("broken")
.serializationDataFormat(JavaObjectSerializer.SERIALIZATION_DATA_FORMAT)
.objectTypeName("unexisting").create()));
// this works
VariableMap variablesTyped = runtimeService.getVariablesLocalTyped(processInstance.getId(), false);
assertNotNull(variablesTyped.getValueTyped("broken"));
variablesTyped = runtimeService.getVariablesLocalTyped(processInstance.getId(), Arrays.asList("broken"), false);
assertNotNull(variablesTyped.getValueTyped("broken"));
// this does not
try {
runtimeService.getVariablesLocalTyped(processInstance.getId());
} catch(ProcessEngineException e) {