Lee moon soo created ZEPPELIN-475:
-------------------------------------
Summary: NullPointerException when run notebook previously
generated before ZEPPELIN-387
Key: ZEPPELIN-475
URL: https://issues.apache.org/jira/browse/ZEPPELIN-475
Project: Zeppelin
Issue Type: Bug
Reporter: Lee moon soo
Assignee: Lee moon soo
ZEPPELIN-387 introduces a new field "enabled" in paragraph config.
This value is persisted into note.json.
However, note.json that exists before ZEPPELIN-387 does not have "enabled"
field and that cause NullPointerException
{code}
ERROR [2015-11-30 21:25:44,459] ({qtp1150538133-63}
NotebookServer.java[runParagraph]:716) - Exception from run
java.lang.NullPointerException
at org.apache.zeppelin.notebook.Note.run(Note.java:326)
at
org.apache.zeppelin.socket.NotebookServer.runParagraph(NotebookServer.java:714)
at
org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:126)
at
org.apache.zeppelin.socket.NotebookSocket.onMessage(NotebookSocket.java:56)
at
org.eclipse.jetty.websocket.WebSocketConnectionRFC6455$WSFrameHandler.onFrame(WebSocketConnectionRFC6455.java:835)
at
org.eclipse.jetty.websocket.WebSocketParserRFC6455.parseNext(WebSocketParserRFC6455.java:349)
at
org.eclipse.jetty.websocket.WebSocketConnectionRFC6455.handle(WebSocketConnectionRFC6455.java:225)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:667)
at
org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:52)
at
org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
at
org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
at java.lang.Thread.run(Thread.java:745)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)