yadavay-amzn commented on PR #55720: URL: https://github.com/apache/spark/pull/55720#issuecomment-4410397452
Thanks for the review @attilapiros. Updated the test to exercise the restart scenario directly: it calls `ConnectRepl.newAmmoniteMain(...).run(...)` twice with the same predef and bind setup, reproducing the "second REPL start from the same working directory" path that previously triggered the NPE. With the fix, both starts complete cleanly; without it the second `run` throws `NullPointerException` during predef initialization. Does this approach work? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
