java.lang.RuntimeException Public Transit issue

Hey @michaz,

I am back finding (what I think are more bugs).

With my same data set as usual I try and calculate this route.

`/route?vehicle=pt&weighting=short_fastest&point=42.4417419%2C-76.5109827&point=42.4535101%2C-76.4890441&points_encoded=false&pt.arrive_by=false&ch.disable=true&pt.walk_speed=3&pt.earliest_departure_time=2018-03-27T03%3A05%3A34.000Z&pt.profile=true&pt.limit_solutions=6` 

and I get a
{ hints: [ { details: "java.lang.RuntimeException", message: "No route found" } ], message: "No route found" }

Do you know why this is happening?

Best,

Austin

Highly likely because of the short_fastest weighting. If you remove this - is the error still shown?

Hi @karussell,
I removed the short_fastest weighting and other some parameters.

Here is my new request:
/route?vehicle=pt&point=42.4417419%2C-76.5109827&point=42.4554466%2C-76.4896513&points_encoded=false&pt.arrive_by=false&pt.walk_speed=3&pt.earliest_departure_time=2018-03-26T03%3A21%3A52.000Z

I still get the same issue :confused:

@aaastorga Oh, there’s just no good stop near the departure point. Give them a bit more range:

pt.max_walk_distance_per_leg=2000

It’s arguable whether this should look like an error message though. In regular (road-network) GraphHopper, it is indeed something like an exception or error (the road network is mostly connected, except if you do very unlikely things like driving intercontinentally).

In public transit with its hard constraints, it should rather just be an empty result set.