Stack Overflow Error in Java

What actually causes a StackOverflow error in Java?