It catches the first error, but it crashes as soon as you do the same mistake again?
This is a bit weird, it behaves like you would expect in Debug mode with all different types of exceptions.
But in Release mode, it only allows ONE null pointer exception, all the others work as expected.
Might be a bug??