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

Hi, have same problem !
Nobody have solved this issue ?

INFO  [2021-06-23 08:35:14,040] com.conveyal.gtfs.model.Entity$Loader: Record number 9,5M
INFO  [2021-06-23 08:35:14,773] com.graphhopper.gtfs.GtfsStorage: Calendar range covered by all feeds: 2021-06-10 till 2022-05-31
INFO  [2021-06-23 08:35:46,860] com.graphhopper.gtfs.GraphHopperGtfs: Building transit graph for feed fr-nw_gtfs
ERROR [2021-06-23 08:38:13,340] io.dropwizard.cli.ServerCommand: Unable to start server, shutting down
! java.lang.IllegalArgumentException: negative value for pt_time not allowed! -540
! at com.graphhopper.routing.ev.UnsignedIntEncodedValue.checkValue(UnsignedIntEncodedValue.java:98)
! at com.graphhopper.routing.ev.UnsignedIntEncodedValue.setInt(UnsignedIntEncodedValue.java:103)
! at com.graphhopper.storage.BaseGraph$EdgeIteratorStateImpl.set(BaseGraph.java:1147)
! at com.graphhopper.gtfs.GtfsReader.addTrip(GtfsReader.java:366)
! at com.graphhopper.gtfs.GtfsReader.addTrips(GtfsReader.java:267)
! at com.graphhopper.gtfs.GtfsReader.lambda$createTrips$3(GtfsReader.java:172)
! at com.google.common.collect.Maps$Values.lambda$forEach$0(Maps.java:3831)
! at java.base/java.util.Map.forEach(Map.java:661)
! at com.google.common.collect.Maps$Values.forEach(Maps.java:3831)
! at com.graphhopper.gtfs.GtfsReader.createTrips(GtfsReader.java:150)
! at com.graphhopper.gtfs.GtfsReader.buildPtNetwork(GtfsReader.java:136)
! at com.graphhopper.gtfs.GraphHopperGtfs.lambda$importPublicTransit$1(GraphHopperGtfs.java:123)
! at java.base/java.util.HashMap.forEach(HashMap.java:1336)
! at java.base/java.util.Collections$UnmodifiableMap.forEach(Collections.java:1505)
! at com.graphhopper.gtfs.GraphHopperGtfs.importPublicTransit(GraphHopperGtfs.java:111)
! ... 18 common frames omitted
! Causing: java.lang.RuntimeException: Error while constructing transit network. Is your GTFS file valid? Please check log for possible causes.
! at com.graphhopper.gtfs.GraphHopperGtfs.importPublicTransit(GraphHopperGtfs.java:128)
! at com.graphhopper.GraphHopper.postProcessing(GraphHopper.java:894)
! at com.graphhopper.GraphHopper.process(GraphHopper.java:635)
! at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:596)
! at com.graphhopper.http.GraphHopperManaged.start(GraphHopperManaged.java:153)
! at io.dropwizard.lifecycle.JettyManaged.doStart(JettyManaged.java:27)
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
! at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
! at org.eclipse.jetty.server.Server.start(Server.java:423)
! at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
! at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
! at org.eclipse.jetty.server.Server.doStart(Server.java:387)
! at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
! at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53)
! at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:60)
! at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
! at io.dropwizard.cli.Cli.run(Cli.java:78)
! at io.dropwizard.Application.run(Application.java:94)
! at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:35)
java.lang.RuntimeException: Error while constructing transit network. Is your GTFS file valid? Please check log for possible causes.
        at com.graphhopper.gtfs.GraphHopperGtfs.importPublicTransit(GraphHopperGtfs.java:128)
        at com.graphhopper.GraphHopper.postProcessing(GraphHopper.java:894)
        at com.graphhopper.GraphHopper.process(GraphHopper.java:635)
        at com.graphhopper.GraphHopper.importOrLoad(GraphHopper.java:596)
        at com.graphhopper.http.GraphHopperManaged.start(GraphHopperManaged.java:153)
        at io.dropwizard.lifecycle.JettyManaged.doStart(JettyManaged.java:27)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:169)
        at org.eclipse.jetty.server.Server.start(Server.java:423)
        at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:117)
        at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:97)
        at org.eclipse.jetty.server.Server.doStart(Server.java:387)
        at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:73)
        at io.dropwizard.cli.ServerCommand.run(ServerCommand.java:53)
        at io.dropwizard.cli.EnvironmentCommand.run(EnvironmentCommand.java:60)
        at io.dropwizard.cli.ConfiguredCommand.run(ConfiguredCommand.java:98)
        at io.dropwizard.cli.Cli.run(Cli.java:78)
        at io.dropwizard.Application.run(Application.java:94)
        at com.graphhopper.http.GraphHopperApplication.main(GraphHopperApplication.java:35)
Caused by: java.lang.IllegalArgumentException: negative value for pt_time not allowed! -540
        at com.graphhopper.routing.ev.UnsignedIntEncodedValue.checkValue(UnsignedIntEncodedValue.java:98)
        at com.graphhopper.routing.ev.UnsignedIntEncodedValue.setInt(UnsignedIntEncodedValue.java:103)
        at com.graphhopper.storage.BaseGraph$EdgeIteratorStateImpl.set(BaseGraph.java:1147)
        at com.graphhopper.gtfs.GtfsReader.addTrip(GtfsReader.java:366)
        at com.graphhopper.gtfs.GtfsReader.addTrips(GtfsReader.java:267)
        at com.graphhopper.gtfs.GtfsReader.lambda$createTrips$3(GtfsReader.java:172)
        at com.google.common.collect.Maps$Values.lambda$forEach$0(Maps.java:3831)
        at java.base/java.util.Map.forEach(Map.java:661)
        at com.google.common.collect.Maps$Values.forEach(Maps.java:3831)
        at com.graphhopper.gtfs.GtfsReader.createTrips(GtfsReader.java:150)
        at com.graphhopper.gtfs.GtfsReader.buildPtNetwork(GtfsReader.java:136)
        at com.graphhopper.gtfs.GraphHopperGtfs.lambda$importPublicTransit$1(GraphHopperGtfs.java:123)
        at java.base/java.util.HashMap.forEach(HashMap.java:1336)
        at java.base/java.util.Collections$UnmodifiableMap.forEach(Collections.java:1505)
        at com.graphhopper.gtfs.GraphHopperGtfs.importPublicTransit(GraphHopperGtfs.java:111)
        ... 18 more