Catch me if you can

Long time no see: StackOverflowError. Yay! It’s even an error and not an exception. How nice of java to tell me I am stupid 😉

Guess what? Some refactoring caused a method to call itself. Shouldn’t pass different things as String parameters. No type safety! Argh no String parameters *teeth grinding* no strings no …..

Also makes for a funny stacktrace:

Exception in thread “main” java.lang.StackOverflowError
at Configurator.init(Configurator.java:36)
at Configurator.init(Configurator.java:36)
at Configurator.init(Configurator.java:36)
at Configurator.init(Configurator.java:36)
at Configurator.init(Configurator.java:36)