Fixed Intellij StackOverflowError during IDE compilation