Issue
After Madrid Patch 6 upgrade, record producer doesn't create a record when submitting a request from the service portal. A NullPointerException is seen in the logs.
Cause
The issue is caused due to duplicate variables
Resolution
The record producer had duplicate variables with the same name. The variable names are case insensitive and there should NOT be any duplicate variable with the same name even though one of the variable is inactive.
Deleting the inactive variable with the same name resolved the issue.