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 trying to plan itineraries during period of disruptions (a large number of train delays, cancellations and replacements), OpenTripPlanner produces error in queries.
Expected behavior
Itineraries are returned
Observed behavior
The GraphQL query returns error
{
"errors": [
{
"message": "Exception while fetching data (/plan) : Index 12 out of bounds for length 12",
"locations": [
{
"line": 6,
"column": 3
}
],
"path": [
"plan"
],
"extensions": {
"classification": "DataFetchingException"
}
}
],
"data": {
"plan": null
}
}
Run the following exact query (it refers to a journey through a period of train disruption)
queryGtfsExampleQuery {
plan(
from: {lat: 51.520303, lon: -0.104917},
to:{lat: 51.231734, lon: -0.334611},
date: "2024-09-17"time: "17:30"
) {
itineraries {
legs {
from {
name
}
to {
name
}
durationroute {
shortName
}
headsign
}
}
}
}
The problem doesn't exist if the date is changed to some future dates when real-time data are not yet available.
The text was updated successfully, but these errors were encountered:
miklcct
changed the title
DataFetchingException (/plan : null) when planning journey during period of disruption
DataFetchingException (index out of bounds) when planning journey during period of disruption
Sep 18, 2024
Summary
When trying to plan itineraries during period of disruptions (a large number of train delays, cancellations and replacements), OpenTripPlanner produces error in queries.
Expected behavior
Itineraries are returned
Observed behavior
The GraphQL query returns error
Repeated queries return the following:
There is nothing in the OpenTripPlanner console output.
Version of OTP used (exact commit hash or JAR name)
e9200c0
Data sets in use (links to GTFS and OSM PBF files)
The Greater London and Surrey maps are used.
The timetable and real-time information can be downloaded here and here (expires 31 days).
Command line used to start OTP
Router config and graph build config JSON
The time zone used is
Europe/London
.otp-config.json
build-config.json
router-config.json
Steps to reproduce the problem
Run the following exact query (it refers to a journey through a period of train disruption)
The problem doesn't exist if the date is changed to some future dates when real-time data are not yet available.
The text was updated successfully, but these errors were encountered: