{"action":"closed","issue":{"url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/1268","repository_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android","labels_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/1268/labels{/name}","comments_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/1268/comments","events_url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/issues/1268/events","html_url":"https://github.com/mapbox/mapbox-navigation-android/issues/1268","id":357655729,"node_id":"MDU6SXNzdWUzNTc2NTU3Mjk=","number":1268,"title":"baseUrl: rerouting -> services exception","user":{"login":"P-Zenker","id":23097192,"node_id":"MDQ6VXNlcjIzMDk3MTky","avatar_url":"https://avatars0.githubusercontent.com/u/23097192?v=4","gravatar_id":"","url":"https://api.github.com/users/P-Zenker","html_url":"https://github.com/P-Zenker","followers_url":"https://api.github.com/users/P-Zenker/followers","following_url":"https://api.github.com/users/P-Zenker/following{/other_user}","gists_url":"https://api.github.com/users/P-Zenker/gists{/gist_id}","starred_url":"https://api.github.com/users/P-Zenker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/P-Zenker/subscriptions","organizations_url":"https://api.github.com/users/P-Zenker/orgs","repos_url":"https://api.github.com/users/P-Zenker/repos","events_url":"https://api.github.com/users/P-Zenker/events{/privacy}","received_events_url":"https://api.github.com/users/P-Zenker/received_events","type":"User","site_admin":false},"labels":[{"id":712481030,"node_id":"MDU6TGFiZWw3MTI0ODEwMzA=","url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/labels/navigation-ui","name":"navigation-ui","color":"3F51B5","default":false},{"id":940054280,"node_id":"MDU6TGFiZWw5NDAwNTQyODA=","url":"https://api.github.com/repos/mapbox/mapbox-navigation-android/labels/needs%20investigation","name":"needs investigation","color":"ba8be0","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-06T13:29:43Z","updated_at":"2018-10-23T09:42:36Z","closed_at":"2018-10-23T09:42:36Z","author_association":"NONE","body":"**Android API: 8.0**\r\n**Mapbox Navigation SDK version: 0.18.0**\r\n\r\n### Steps to trigger behavior\r\n\r\n 1. Set NavigationRoute.builder(contex).baseUrl(myBaseUrl)\r\n 2. Use NavigationLauncher.startNavigation with NavigationLauncherOptions \r\n 3. Force a off route location\r\n\r\n### Expected behavior\r\nCall baseUrl for rerouting... but my baseUrl (a php script) is never called)\r\n\r\n### Actual behavior\r\n```\r\ncom.mapbox.core.exceptions.ServicesException: An origin and destination are required before making the directions API request.\r\n        at com.mapbox.api.directions.v5.MapboxDirections$Builder.build(MapboxDirections.java:751)\r\n        at com.mapbox.services.android.navigation.v5.navigation.NavigationRoute$Builder.build(NavigationRoute.java:558)\r\n        at com.mapbox.services.android.navigation.v5.route.RouteFetcher.executeRouteCall(RouteFetcher.java:120)\r\n        at com.mapbox.services.android.navigation.v5.route.RouteFetcher.findRouteFromRouteProgress(RouteFetcher.java:72)\r\n        at com.mapbox.services.android.navigation.ui.v5.route.ViewRouteFetcher.fetchRouteFromOffRouteEvent(ViewRouteFetcher.java:65)\r\n        at com.mapbox.services.android.navigation.ui.v5.NavigationViewModel.sendEventOffRoute(NavigationViewModel.java:435)\r\n        at com.mapbox.services.android.navigation.ui.v5.NavigationViewModel.access$600(NavigationViewModel.java:51)\r\n        at com.mapbox.services.android.navigation.ui.v5.NavigationViewModel$2.userOffRoute(NavigationViewModel.java:289)\r\n        at com.mapbox.services.android.navigation.v5.navigation.NavigationEventDispatcher.onUserOffRoute(NavigationEventDispatcher.java:150)\r\n        at com.mapbox.services.android.navigation.v5.navigation.RouteProcessorThreadListener.onUserOffRoute(RouteProcessorThreadListener.java:57)\r\n        at com.mapbox.services.android.navigation.v5.navigation.RouteProcessorHandlerCallback$1.run(RouteProcessorHandlerCallback.java:99)\r\n        at android.os.Handler.handleCallback(Handler.java:789)\r\n        at android.os.Handler.dispatchMessage(Handler.java:98)\r\n        at android.os.Looper.loop(Looper.java:164)\r\n        at android.app.ActivityThread.main(ActivityThread.java:6944)\r\n        at java.lang.reflect.Method.invoke(Native Method)\r\n        at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)\r\n        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)\r\n```\r\n\r\nI don't know where to set origin/destination to avoid this exception. If I don't set baseUrl everything works fine.\r\n\r\n"}}
{"actor":{"display_login":"P-Zenker"}}