bd2019us created ZEPPELIN-4124:
----------------------------------

             Summary: getJSONArray may cause exception, optJSONArray can be used
                 Key: ZEPPELIN-4124
                 URL: https://issues.apache.org/jira/browse/ZEPPELIN-4124
             Project: Zeppelin
          Issue Type: Bug
            Reporter: bd2019us


Hello,
The method call parent.getJSONArray(...) may throw JSONException when the key 
does not exist, which will crash the program. To ensure safety, optJSONArray is 
recommended to use, which will avoid the exception in case no such key.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to