jason ogaard created ZEPPELIN-5691:
--------------------------------------
Summary: Code completion for ipython causes exception (sometimes)
Key: ZEPPELIN-5691
URL: https://issues.apache.org/jira/browse/ZEPPELIN-5691
Project: Zeppelin
Issue Type: Bug
Components: zeppelin-interpreter
Affects Versions: 0.10.1
Reporter: jason ogaard
Attachments: image-2022-03-24-11-37-04-519.png
The first time a user tries to use code completion for the iPython interpreter
the notebook will hang for a long time (I believe it's waiting for the
websocket to return) and will get the pop up below (tested on the latest docker
image for apache zeppelin found on docker hub)
!image-2022-03-24-11-37-04-519.png|width=680,height=181!
After this code completion usually works but will sometimes throw this error
again. This error will happen again if the user restarts the interpreter.
We do not get this error when attempting code completion for the python
interpreter. I've traced through the code as well as I can and believe the
issue is that code completion is trying to use the PythonInterpreter class to
get the completion list, but since we're using the iPython interpreter the
PythonInterpreter class is not instantiated, and therefore get the NPE. I could
be wrong though.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)