A Custom Picker Scripted Field that has been configured to the Multiple options keeps returning the error message: Exception occurred: java.lang.NullPointerException: Cannot invoke method collectEntries() on null object
- Create a Custom Picker field and use the example code provided in the ScriptRunner Documentation, i.e. in the Disabled vs. Non-Existent section.
- Check the Multiple checkbox option to set it to a Multi Custom Picker as shown in the image below:-
- Create a new Issue and select some options from the Custom Picker
- Once the issue has been created, remove the options from the Custom Picker from the View Screen
The options from the Custom Picker should remove without any problem, and the Custom Picker field should be hidden from the view screen.
Note: This issue appears to be only occurring for the Multi Option Custom Picker and not for the Single Option Custom Picker