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
The request returns information about the trip and its frequency.
Observed behavior
A NullPointerException occurs.
Exception while fetching data (/routes[0]/trips[0]/stoptimes) : Cannot invoke "org.opentripplanner.transit.model.timetable.TripTimes.getNumStops()" because "times" is null
Version of OTP used (exact commit hash or JAR name)
docker run --detach (pwd):/var/opentripplanner docker.io/opentripplanner/opentripplanner:latest --load --serve
Router config and graph build config JSON
Only ParallelRouting is on, no other config.
Steps to reproduce the problem
Run the following GraphQL query.
# This is an example query for fetching all routes of your OTP deployment.# Click on the documentation icon on the left to read about the available types# or use autocomplete to explore the schema.queryGtfsExampleQuery {
routes(name:"258D") {
gtfsIdshortNametrips {
stoptimes {
stop {
gtfsIdname
}
scheduledDeparture
}
}
}
}
The problem doesn't appear if I change 258D to 258S. 258D has frequency-based trips but 258S doesn't.
The text was updated successfully, but these errors were encountered:
Expected behavior
The request returns information about the trip and its frequency.
Observed behavior
A NullPointerException occurs.
Version of OTP used (exact commit hash or JAR name)
2.7.0-SNAPSHOT, commit 30216e9
Data sets in use (links to GTFS and OSM PBF files)
Hong Kong: https://s3.gtfs.pro/files/sourcedata/citybus.zip
Command line used to start OTP
docker run --detach (pwd):/var/opentripplanner docker.io/opentripplanner/opentripplanner:latest --load --serve
Router config and graph build config JSON
Only ParallelRouting is on, no other config.
Steps to reproduce the problem
Run the following GraphQL query.
The problem doesn't appear if I change
258D
to258S
.258D
has frequency-based trips but258S
doesn't.The text was updated successfully, but these errors were encountered: