ngrewe opened a new pull request #4062: URL: https://github.com/apache/zeppelin/pull/4062
### What is this PR for? This is a very simple fix for the issue described in [ZEPPELIN-5192](https://github.com/ngrewe/zeppelin/pull/new/bugfix/ZEPPELIN-5192): Zeppelin will currently fail to start if a credentials encryption key is configured but no `credentials.json` file exists currently. This is due to an NPE inside the decryption code path. The fix is to only attempt the decryption if the file could be loaded. ### What type of PR is it? [Bug Fix] ### What is the Jira issue? * [ZEPPELIN-5192](https://github.com/ngrewe/zeppelin/pull/new/bugfix/ZEPPELIN-5192) ### How should this be tested? Booting a fresh Zeppelin server with ZEPPELIN_CREDENTIALS_ENCRYPT_KEY set is sufficient to reproduce the issue and validate the fix. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org