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
When building graph (--loadStreet) with a gtfs flex v2 like the one below, it should work.
Observed behavior
The stop_id column in stop_times.txt references areas as allowed by the specs.
OTP tries to removeRepeatedStops and the getStop() for StopTime returns null. It fails with the error below :
11:51:33.187 WARN [main] (OtpTransitServiceBuilder.java:272) Limiting transit service days to time period: [2022-11-27, 2026-11-27]
11:51:33.188 INFO [main] (OtpTransitServiceBuilder.java:293) Limiting transit service days to time period complete.
11:51:33.192 INFO [main] (FlexTripsMapper.java:59) Create flex trips progress tracking complete. 273 done in 0s (68,250 per second).
11:51:33.192 INFO [main] (FlexTripsMapper.java:60) Done creating flex trips. Created a total of 273 trips.
11:51:33.192 INFO [main] (ValidateAndInterpolateStopTimesForEachTrip.java:62) Validate StopTimes progress tracking started.
11:51:33.195 ERROR [main] (OTPMain.java:60) An uncaught error occurred inside OTP: Cannot invoke "Object.equals(Object)" because the return value of "org.opentripplanner.model.StopTime.getStop()" is null
java.lang.NullPointerException: Cannot invoke "Object.equals(Object)" because the return value of "org.opentripplanner.model.StopTime.getStop()" is null
at org.opentripplanner.graph_builder.module.ValidateAndInterpolateStopTimesForEachTrip.removeRepeatedStops(ValidateAndInterpolateStopTimesForEachTrip.java:111)
at org.opentripplanner.graph_builder.module.ValidateAndInterpolateStopTimesForEachTrip.run(ValidateAndInterpolateStopTimesForEachTrip.java:75)
at org.opentripplanner.gtfs.graphbuilder.GtfsModule.validateAndInterpolateStopTimesForEachTrip(GtfsModule.java:228)
at org.opentripplanner.gtfs.graphbuilder.GtfsModule.buildGraph(GtfsModule.java:146)
at org.opentripplanner.graph_builder.GraphBuilder.run(GraphBuilder.java:175)
at org.opentripplanner.standalone.OTPMain.startOTPServer(OTPMain.java:141)
at org.opentripplanner.standalone.OTPMain.main(OTPMain.java:55)
I tried to set the removeRepeatedStops to false in the build-config.json but without any improvment (in gtfsDefaults and in transitFeeds)
Version of OTP used (exact commit hash or JAR name)
Expected behavior
When building graph (--loadStreet) with a gtfs flex v2 like the one below, it should work.
Observed behavior
The
stop_id
column instop_times.txt
referencesareas
as allowed by the specs.OTP tries to
removeRepeatedStops
and the getStop() for StopTime returns null. It fails with the error below :I tried to set the
removeRepeatedStops
to false in thebuild-config.json
but without any improvment (in gtfsDefaults and in transitFeeds)Version of OTP used (exact commit hash or JAR name)
2.5.0-SNAPSHOT (c93f528)
Data sets in use (links to GTFS and OSM PBF files)
villefranche-flex-gtfs.zip
The text was updated successfully, but these errors were encountered: