1f1ddeb025
This commit adds null-check to getter method, so instead of NPE an IllegalStateException will be thrown with additional details. Fixes gh-7745