check java.lang.StackOverflowError issue