discussion at https://forum.orekit.org/t/improve-investigation-while-encoutering-a-mathillegalstateexception/1110/20