- Goto the report edit mode of a raw data report (doesn't matter if its decision or process)
- make sure that the report has no data, either by selecting a process definition that has no instances or creating a filter that has no instances
- Click on the visualization configuration button
- The only option is "Show instance count", since we do not know which variables exist in the process/decision
- Optimize crashes
This happens because we try to read which columns exist. We use the first returned instances of the result for that in order to get all the variables that exist in the process/decision. Since there is no first instance, Optimize crashes.