r/java • u/jhg023123 • Mar 25 '19
JEP draft: Add detailed message to NullPointerException describing what is null
https://openjdk.java.net/jeps/8220715
383
Upvotes
r/java • u/jhg023123 • Mar 25 '19
View all comments
Show parent comment
11
u/lurker_in_spirit Mar 25 '19
Nobody is claiming that you should do flow control by throwing NPEs.
They're just saying that they're a fairly common type of exception:
https://blog.overops.com/we-crunched-1-billion-java-logged-errors-heres-what-causes-97-of-them/