Throwing an NPE here hides the actual exception and it is much harder to track what...