mirror of
https://github.com/apache/zeppelin
synced 2026-05-24 09:38:26 +00:00
Fix NPE in tests
Signed-off-by: karuppayya <karuppayya1990@gmail.com>
This commit is contained in:
parent
3d9a5733c0
commit
e2cd4db021
1 changed files with 3 additions and 1 deletions
|
|
@ -172,7 +172,9 @@ public class SparkInterpreter extends Interpreter {
|
|||
RemoteEventClientWrapper eventClient = ZeppelinContext.getEventClient();
|
||||
Map<String, String> infos = new java.util.HashMap<>();
|
||||
infos.put("jobUrl", jobUrl);
|
||||
eventClient.onParaInfosReceived(noteId, paragraphId, infos);
|
||||
if (eventClient != null) {
|
||||
eventClient.onParaInfosReceived(noteId, paragraphId, infos);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue