GitHub user khalidhuseynov opened a pull request:
https://github.com/apache/zeppelin/pull/1590
[ZEPPELIN-1612] Fix NPE when initializing Notebook
### What is this PR for?
Sometimes Zeppelin wasn't able to start because of empty subject when
initializing Notebook class, more details in issue.
### What type of PR is it?
Bug Fix
### Todos
* [x] - add anonymous subject
* [x] - add test
### What is the Jira issue?
[ZEPPELIN-1612](https://issues.apache.org/jira/browse/ZEPPELIN-1612)
### How should this be tested?
* added test passing and no relevant CI failures
* also can be starting Zeppelin in anonymous mode when you have notes with
angular objects
### 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/khalidhuseynov/incubator-zeppelin
fix/loadAllNotes-npe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1590.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 #1590
----
commit 3dc0a8ba58037d2509a6a57397dc502e859814e1
Author: Khalid Huseynov <[email protected]>
Date: 2016-11-03T10:38:11Z
substitute null with anonymous subject
commit 8da069b8bc600cd68b8c098fa0eb7a1e6025dc6e
Author: Khalid Huseynov <[email protected]>
Date: 2016-11-03T11:44:44Z
add test
for testing the opposite case need note with angular object
----
---
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.
---