GitHub user kavinkumarks opened a pull request: https://github.com/apache/zeppelin/pull/1345
[ZEPPELIN-728] Can't POST interpreter setting (CorsFilter?) ### What is this PR for? This handles the NPE when the input json is empty for the interpreter setting POST request. ### What type of PR is it? Bug Fix ### Todos NA ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-728 ### How should this be tested? When empty json is sent for interpreter setting POST request, 400 status code should be returned. ### Screenshots (if appropriate) ### Questions: * Does the licenses files need update? No * Is there breaking changes for older versions? No * Does this needs documentation? No You can merge this pull request into a Git repository by running: $ git pull https://github.com/kavinkumarks/zeppelin zeppelin-728-fix-NPE-intepreter-setting-post Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1345.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1345 ---- commit ab7f9e8029e1e272810bd14b7fcbf14ea2cb62a8 Author: Kavin Kumar <junoka...@gmail.com> Date: 2016-08-19T07:14:11Z Handled NPE when the json is empty for interpreter setting POST request and corrected the json in the REST API doc. ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---