What are the steps to reproduce your problem?
1. Configure JSON serialization format: <property name="defaultSerializationFormat">application/json</property>
2. Create a model with a service task that, on the Input/Output tab, creates a list.
3. Place one element into that list, with a
${null}
value.
4. Run the model (an example model is attached).
What is the problem?
When creating a list using the Input/Output tab (the attached example uses an output parameter, but the same issue occurs with an input parameter), if the list contains only a single null element, an exception occurs. The exception is a NullPointerException and seems to occur while Jackson is trying to infer a type for the list element. The relevant portion of the stack trace is attached.
What would be the expected behavior:
A list with a single null element is produced.