GitHub user OutOfBedlam opened a pull request: https://github.com/apache/zeppelin/pull/1009
Prevent NullPointerException if "gatewayServer" does not exist ### What is this PR for? Avoiding and preventing undesired NullPointerException during re-loading python interpreter Since py4j is optional when PythonInterpreter starts, it should be optional too while it close. ### What type of PR is it? [Improvement] ### What is the Jira issue? * N/A ### How should this be tested? Reload PythongInterpreter on Zeppelin web "Interpreter" menu and check the log message if it complains NullPointerException ### 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/Solution-Global/zeppelin python Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zeppelin/pull/1009.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 #1009 ---- commit ccbf7efa563f8ab3bb505eca4032b7d045ef8c14 Author: Kwon, Yeong-Eon <happylo...@gmail.com> Date: 2016-06-14T00:37:27Z Prevent NullPointerException if "gatewayServer" does not exist ---- --- 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. ---