GitHub user Leemoonsoo opened a pull request:
https://github.com/apache/incubator-zeppelin/pull/491
[ZEPPELIN-475] NullPointerException when run notebook generated before
ZEPPELIN-387
`p.getConfig().get("enabled")` can be null when Zeppelin load notebook
generated before ZEPPELIN-387.
This PR fixes ZEPPELIN-475 by assuming "true" when
`p.getConfig().get("enabled")` is null.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/Leemoonsoo/incubator-zeppelin ZEPPELIN-475
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/incubator-zeppelin/pull/491.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 #491
----
commit e6a459f12b55f3bb52fc4748c4458fca8d485826
Author: Lee moon soo <[email protected]>
Date: 2015-11-30T12:37:15Z
Assume "enabled" is true, when it is not defined.
----
---
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.
---