I saw a lot of similar questions, but I didn't find a good answer.
The problem is, when I use Debug
mode, in catch block e == null
, and the application crashes with unhandled NullPointerException.
But I'm able to catch an exception and to see stacktrace if I use Run
mode.
What might be the reason? Thanks in advance!