adicionado try to catch StackOverflowError