GTFS Navitia data for Graphhopper : issue in France

Hi Dear GH people,

I am trying to launch a GH server for PT on the entire French territory. My aim is to compute a bunch of PT isochrones all over France.
I use some Geofabrik pbf and Navitia GTFS open data here :https://navitia.opendatasoft.com/explore
Navitia offer a split of France within 5 regions SW, SE, NW, NE and IDF and they have done some good work to merge a bunch of local GTFS files.
So GH PT server is working fine for 80% of France, a merge of 4 region upon 5 : SW, SE, NE and IDF
I have an issue on the NW GTFS file, GH could not succeed to compile the graph and tell than GTFS file is not valid, but the graph compilation error message is not very clear. I had a look on this data but did not find any visible GTFS invalid structure

Navitia GTFS files :

Windows GH command including NW file and the routes (https://download.geofabrik.de/europe/france/haute-normandie-latest.osm.pbf):

java -Xmx12g -Xms12g -Dgraphhopper.datareader.file=haute-normandie-latest.osm.pbf -Dgraphhopper.gtfs.file=NW-FR-Navitia.zip -Dgraphhopper.graph.flag_encoders=pt -Dgraphhopper.prepare.ch.weightings=no -Dgraphhopper.graph.location=./graph-cache-NW -jar graphhopper-web-0.13.0.jar server config.yml

GH GTFS graph Compilation error message :
2020-02-11 13:24:47.340 [main] INFO c.g.storage.index.LocationIndexTree - location index created in 0.2914047s, size:337á987, leafs:56á984, precision:300, depth:5, checksum:240099, entries:[16, 16, 16, 16, 4], entriesPerLeaf:5.9312615
java.lang.RuntimeException: Error while constructing transit network. Is your GTFS file valid? Please check log for possible causes.
at com.graphhopper.reader.gtfs.GraphHopperGtfs.createOrLoad(GraphHopperGtfs.java:394)
at com.graphhopper.http.GraphHopperBundle.runPtGraphHopper(GraphHopperBundle.java:214)
at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:203)
at com.graphhopper.http.GraphHopperBundle.run(GraphHopperBundle.java:62)
at io.dropwizard.setup.Bootstrap.run(Bootstrap.java:200)
at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:42)
at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:87)
at io.dropwizard.cli.Cli.run(Cli.java:78)
at io.dropwizard.Application.run(Application.java:93)
at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:34)
Caused by: java.lang.NullPointerException
at com.graphhopper.reader.gtfs.GtfsReader.addTrip(GtfsReader.java:260)
at com.graphhopper.reader.gtfs.GtfsReader.addTrips(GtfsReader.java:240)
at com.graphhopper.reader.gtfs.GtfsReader.lambda$createTrips$3(GtfsReader.java:174)
at com.google.common.collect.Maps$Values.lambda$forEach$0(Maps.java:3902)
at java.util.Map.forEach(Unknown Source)
at com.google.common.collect.Maps$Values.forEach(Maps.java:3902)
at com.graphhopper.reader.gtfs.GtfsReader.createTrips(GtfsReader.java:152)
at com.graphhopper.reader.gtfs.GtfsReader.buildPtNetwork(GtfsReader.java:138)
at com.graphhopper.reader.gtfs.GraphHopperGtfs.createOrLoad(GraphHopperGtfs.java:392)
… 9 more

GH log graphhopper.log (5.4 KB)

Thanks for your lights and thanks for providing this very efficient piece of software

Powered by Discourse