[JIRA] (JENKINS-61345) DescriptorList#newInstanceFromRadioList() and ExtensionDescriptorList#newInstanceFromRadioList() may throw undocumented runtime JSONException
8 views
Skip to first unread message
o.v.nenashev@gmail.com (JIRA)
unread,
Mar 5, 2020, 7:09:04 AM3/5/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
parent.getJSONObject(name) may throw a JSONException "if the key is not found or if the value is not a JSONObject". http://javadox.com/org.json/json/20151123/org/json/JSONObject.html#getJSONObject-java.lang.String- . In such case Jenkins will still throw a proper Error in the most of configuration form submissions, but it might become an issue for other API usages like Groovy plugin. So it is better to fix it