the shortest code to throw a NullPointerException

If I were to throw a NullpointerException from within my code I normally would code something like this: if(somethingIsNull) { throw new NullPointerException(); } While reading the code examples on I just saw this definitely shorter possibility which I did not know up to now: if(somethingIsNull) { throw null; }