StandaloneApplicationContext has a potential IndexOutOfBounds scenario if you add an ExitPointHandler but not an EntryPointHandler