improve RecognitionException handling: prevent nullpointers and always
add cause