Steps to reproduce:
- create a process that expects a variable of type Object (so that the variable will be deserialized)
- start a instance of that process with a serialized and transient variable
- In case of variables of type Object the variable will be deserialized to null
- In case of variables of type JSON or XML the deserialization fails with a NullPointerException
The variable is deserialized into the expected value.