GitHub user Leemoonsoo opened a pull request:
https://github.com/apache/zeppelin/pull/1150
[HOTFIX] Fix NullPointerException at
org.apache.zeppelin.notebook.Paragraph.getRepl(Paragraph.java:204)
### What is this PR for?
When notebook is being loaded, following error is raised after #836
```
Caused by: java.lang.NullPointerException
at org.apache.zeppelin.notebook.Paragraph.getRepl(Paragraph.java:204)
at
org.apache.zeppelin.notebook.Paragraph.getCurrentRepl(Paragraph.java:208)
at org.apache.zeppelin.helium.Helium.suggestApp(Helium.java:138)
at org.apache.zeppelin.rest.HeliumRestApi.suggest(HeliumRestApi.java:83)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:180)
at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:96)
... 50 more
```
### What type of PR is it?
Hotfix
### Todos
* [x] - Fix
### What is the Jira issue?
ZEPPELIN-732, ZEPPELIN-1075
### How should this be tested?
Run Zeppelin and load any notebook. And see if there're unexpected
exception raised.
### 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/Leemoonsoo/zeppelin fix_npe
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/zeppelin/pull/1150.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 #1150
----
commit 3e8697b675bc1682ab6348b810a2f19fb827cee5
Author: Lee moon soo <[email protected]>
Date: 2016-07-07T23:51:39Z
Set interpreter factory into paragraph right after loaded
----
---
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.
---