My Oracle Support Banner

Notebooks Failed To Run In IW Due To NullPointerException In Zeppelin Python Interpreter (Doc ID 3028220.1)

Last updated on JUNE 17, 2024

Applies to:

Oracle Retail AI Foundation Cloud Service - Version NA and later
Information in this document applies to any platform.

Goal

The interpreter creation process in Apache Zeppelin failed due to a NullPointerException. This issue occurred when attempting to run some analysis notebooks in IWB. The error traceback indicates that the open method in the PythonInterpreter class encountered a NullPointerException, which propagated through the LazyOpenInterpreter and caused the overall failure.
The issue persists for all users even after creating and invalidating the session, blocking our progress since we can't run any cells in our notebooks.

Error Message

15:18:16.057 [0fd39] [enant] [903985892-Worker-1] DEBUG o.a.z.s.AbstractScheduler - Job Error, singleTenant, %text org.apache.zeppelin.interpreter.InterpreterException: java.lang.NullPointerException
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:76)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:844)
at org.apache.zeppelin.interpreter.remote.RemoteInterpreterServer$InterpretJob.jobRun(RemoteInterpreterServer.java:752)
at org.apache.zeppelin.scheduler.Job.run(Job.java:172)
at org.apache.zeppelin.scheduler.AbstractScheduler.runJob(AbstractScheduler.java:132)
at org.apache.zeppelin.scheduler.FIFOScheduler.lambda$runJobInScheduler$0(FIFOScheduler.java:49)
at oracle.datastudio.common.concurrent.MDCExecutorService.lambda$wrap$0(MDCExecutorService.java:217)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.NullPointerException
at org.apache.zeppelin.python.PythonInterpreter.open(PythonInterpreter.java:86)
at oracle.datastudio.python.DsPythonInterpreter.open(DsPythonInterpreter.java:88)
at org.apache.zeppelin.interpreter.LazyOpenInterpreter.open(LazyOpenInterpreter.java:70)
... 9 more

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.