GitHub user lresende opened a pull request:
https://github.com/apache/zeppelin/pull/1375
[ZEPPELIN-1171] Only retrieve resources if client is set
### What is this PR for?
Fix NullPointerException when trying to retrieve resources and the client
is not set
### What type of PR is it?
[Bug Fix]
### What is the Jira issue?
* [ZEPPELIN-1171](https://issues.apache.org/jira/browse/ZEPPELIN-1171)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/lresende/incubator-zeppelin zeppelin-1171
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1375.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 #1375
----
commit 1e8a79840b7f3ec5dd5413c1188e0d96851c7839
Author: Luciano Resende <[email protected]>
Date: 2016-08-28T23:41:31Z
[ZEPPELIN-1171] Only retrieve resources if client is set
Avoid NPE when retrieving resources by checking if client is
properly set.
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---