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 :
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 (

java -Xmx12g -Xms12g -Dgraphhopper.datareader.file=haute-normandie-latest.osm.pbf -Dgraphhopper.graph.flag_encoders=pt -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 - 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(
at com.graphhopper.http.GraphHopperBundle.runPtGraphHopper(
at com.graphhopper.http.GraphHopperApplication.main(
Caused by: java.lang.NullPointerException
at com.graphhopper.reader.gtfs.GtfsReader.addTrip(
at com.graphhopper.reader.gtfs.GtfsReader.addTrips(
at com.graphhopper.reader.gtfs.GtfsReader.lambda$createTrips$3(
at java.util.Map.forEach(Unknown Source)
at com.graphhopper.reader.gtfs.GtfsReader.createTrips(
at com.graphhopper.reader.gtfs.GtfsReader.buildPtNetwork(
at com.graphhopper.reader.gtfs.GraphHopperGtfs.createOrLoad(
… 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