This is an automated email from the ASF dual-hosted git repository. zjffdu pushed a commit to branch branch-0.9 in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/branch-0.9 by this push: new 44b4374 [hotfix] NPE when running all paragraphs 44b4374 is described below commit 44b4374f0334d11fab7f44ed46473f9ce8e0ce16 Author: Jeff Zhang <zjf...@apache.org> AuthorDate: Thu Nov 19 11:03:58 2020 +0800 [hotfix] NPE when running all paragraphs --- .../src/main/java/org/apache/zeppelin/service/NotebookService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java b/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java index 917be9e..4a7db3f 100644 --- a/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java +++ b/zeppelin-server/src/main/java/org/apache/zeppelin/service/NotebookService.java @@ -429,7 +429,7 @@ public class NotebookService { // also stop execution when user code in a paragraph fails Paragraph p = note.getParagraph(paragraphId); InterpreterResult result = p.getReturn(); - if (result.code() == ERROR) { + if (result != null && result.code() == ERROR) { return false; } } catch (Exception e) {