When reading JDK source code, I find it common that the author will check the parameters if they are null and then throw new NullPointerException() manually. Why do they do
It is intentional to protect further damage, or to getting into inconsistent state.