You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Specific alternative route requests leads to IllegalStateException #2850
[dw-2492 - POST /route?] ERROR i.d.j.e.IllegalStateExceptionMapper - Error handling a request: 649e985b5c09e7a7
java.lang.IllegalStateException: waypoints are not included in points, or waypoint indices are wrong
at com.graphhopper.util.PathMerger.doWork(PathMerger.java:166)
at com.graphhopper.routing.Router.routeAlt(Router.java:260)
at com.graphhopper.routing.Router.route(Router.java:116)
at com.graphhopper.GraphHopper.route(GraphHopper.java:1254)
at com.graphhopper.resources.RouteResource.doPost(RouteResource.java:180)
(different points, or profile or max_paths count did not trigger this)
Update: Another request fails with the same error but no alternative route involved and even CH can be disabled and the error still occurs:
Likely the problem is that this happens only for larger areas. Maybe something related the CH preparation. We got both errors (with or without alternatives) with the planet pbf only (cannot reproduce locally atm).
Activity
hendrik-r commentedon Nov 20, 2023
I was unable to reproduce this bug with the default configuration and https://download.geofabrik.de/europe/germany-latest.osm.pbf as the map bounds.
Would you mind giving me some pointers that would help me to reproduce it?
karussell commentedon Nov 20, 2023
Likely the problem is that this happens only for larger areas. Maybe something related the CH preparation. We got both errors (with or without alternatives) with the planet pbf only (cannot reproduce locally atm).
easbar commentedon May 16, 2024
I was able to reproduce the second request in the initial comment both locally and online. But I could not reproduce the first one.
easbar commentedon Mar 9, 2025
Maybe this first error was caused by #3139.