4 ms·
> Your Java program throws some random NullPointerException? Prints, and lots of them. Or just tell your debugger to break on exception.
by 369548684892826 5y ago
> Your Java program throws some random NullPointerException? Prints, and lots of them.
Or just tell your debugger to break on exception.
- sirwhinesalot 5y agoThat's useless, debugging a NPE is about figuring out where the null originated. Breaking on the exception is too late.
- marcolinux 5y agojava 14, helpful NullPointerExceptions? https://openjdk.java.net/jeps/358 https://openjdk.java.net/jeps/358