4 ms·
It's an NPE. I added more details below, But basically this is something I expect to fail when I create new data. If this was a project at work I would find a
by 999900000999 5y ago
It's an NPE.
I added more details below, But basically this is something I expect to fail when I create new data.
If this was a project at work I would find a real fix.
- ajuc 5y agoI would still find the real reason and fix it correctly. One easy trick if you already know it's throwing NPE is to debug with Exception breakpoint set to break on NPE. You will find the exact point it fails and you will know how to fix it. BTW I'm pretty frustrated when I do this to find NPE in my code only to find that spring or apache libraries throw and catch NPEs all over the place :) Don't add to the mess :)