Andreas Weise created ZEPPELIN-3243:
---------------------------------------
Summary: No interpreter is binded to this note ->
IndexOutOfBoundsException
Key: ZEPPELIN-3243
URL: https://issues.apache.org/jira/browse/ZEPPELIN-3243
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-zengine
Reporter: Andreas Weise
When for some reason you run a fresh Zeppelin installation on existing notes,
an IndexOutOfBoundsException is raised.
Also the following message is written to log before the exception:
_InterpreterFactory.java[getInterpreter]:59) - No interpreter is binded to this
note_
This log message is sufficient. The exception is misleading and should be fixed.
{noformat}
ERROR [2018-02-18 12:40:23,669] ({qtp300031246-16}
InterpreterFactory.java[getInterpreter]:59) - No interpreter is binded to this
note: 2D5X64BP4
ERROR [2018-02-18 12:40:23,669] ({qtp300031246-16}
NotebookServer.java[onMessage]:366) - Can't handle message:
{"op":"EDITOR_SETTING","data":{"paragraphId":"20180121-140654_1801623812","magic":"spark"},"principal":"anonymous","ticket":"anonymous","roles":"[]"}
java.lang.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at
org.apache.zeppelin.interpreter.InterpreterSettingManager.getDefaultInterpreterSetting(InterpreterSettingManager.java:417)
at
org.apache.zeppelin.interpreter.InterpreterSettingManager.getEditorSetting(InterpreterSettingManager.java:465)
at
org.apache.zeppelin.socket.NotebookServer.getEditorSetting(NotebookServer.java:2440)
at org.apache.zeppelin.socket.NotebookServer.onMessage(NotebookServer.java:348)
at
org.apache.zeppelin.socket.NotebookSocket.onWebSocketText(NotebookSocket.java:59)
at
org.eclipse.jetty.websocket.common.events.JettyListenerEventDriver.onTextMessage(Jetty{noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)