fixed stackoverflow issue if the route has invalid endpoint definitons on loading (see ECLIPSE-888)