GitHub user reminia opened a pull request:

    https://github.com/apache/zeppelin/pull/2457

    [ZEPPELIN-2713] Fix NPE of notebook creat rest api  if message is nul…

    …l or empty
    
    ### What is this PR for?
    Notebook create rest api will cause NPE when the message is null or empty.
    
    
    ### What type of PR is it?
    [Bug Fix ]
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    * Open an issue on Jira https://issues.apache.org/jira/browse/ZEPPELIN/
    * 
https://issues.apache.org/jira/projects/ZEPPELIN/issues/ZEPPELIN-2713?filter=allopenissues
    
    ### How should this be tested?
    Post to rest api (api/notebook) with nothing, test if NPE
    
    ### 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/reminia/zeppelin ZEPPELIN-2713

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/2457.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 #2457
    
----
commit 6c174de59b65ee31555a04e25d3934ba5ea62117
Author: lichenyang <licheny...@cmss.chinamobile.com>
Date:   2017-06-30T09:24:29Z

    [ZEPPELIN-2713] Fix NPE of notebook creat rest api  if message is null or 
empty

----


---
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.
---

Reply via email to