See screenshot below. If no picker is assigned, but a value is set, then GetPicker() returns null and causes an error when the dropdown control is opened. We should always make sure to check for a return value of null when GetPicker() is called.
Fixed. I have made sure to check for other similar bugs, but this was the only place where the result of GetPicker() was used without checking for null before using it.
See screenshot below. If no picker is assigned, but a value is set, then GetPicker() returns null and causes an error when the dropdown control is opened. We should always make sure to check for a return value of null when GetPicker() is called.