Throws IllegalStateException when trying to call init on AppConfig multiple times