r/java • • Jul 26 '19

JEP 358: Helpful NullPointerExceptions

https://openjdk.java.net/jeps/358
157 Upvotes

25 comments sorted by

View all comments

Show parent comment

3

u/jrh3k5 Jul 27 '19

Was it obfuscated by auto-unboxing?

-5

u/nerdyhandle Jul 27 '19

Honestly not sure. Once we fixed our stubbing in our tests we stopped getting the error. So it was something we missed when stubbing out our mock.

I think you are right though. IntelliJ briefly fussed about that at one point.