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
NullPointerExceptions are thrown by OTP Middleware at CheckMonitoredTrip#makeOTPRequestAndUpdateMatchingItinerary when OTP does not find a plan for a MonitoredTrip for which a plan was found in the past.
This may happen when approaching holidays when trips that normally happen are removed from the schedule for specific days.
Expected behavior
No null pointer exceptions should be thrown in such situations.
Steps to reproduce the problem
Using FDOT and Friday, Jan. 1, 2021 as an example:
Create a weekday itinerary that involves SunRail, and monitor Friday only. (SunRail does not operate on holidays)
During the week leading to the holiday, run the CheckMonitoredTrip job
A NullPointerException occurs at the beginning of the for loop in CheckMonitoredTrip#makeOTPRequestAndUpdateMatchingItinerary
Any special notes on configuration used
No special config used.
Version of otp-middleware and/or OpenTripPlanner if applicable (exact commit hash or branch name)
Latest dev branch.
The text was updated successfully, but these errors were encountered:
Observed behavior
NullPointerExceptions are thrown by OTP Middleware at
CheckMonitoredTrip#makeOTPRequestAndUpdateMatchingItinerary
when OTP does not find a plan for a MonitoredTrip for which a plan was found in the past.This may happen when approaching holidays when trips that normally happen are removed from the schedule for specific days.
Expected behavior
No null pointer exceptions should be thrown in such situations.
Steps to reproduce the problem
Using FDOT and Friday, Jan. 1, 2021 as an example:
CheckMonitoredTrip
jobNullPointerException
occurs at the beginning of thefor
loop inCheckMonitoredTrip#makeOTPRequestAndUpdateMatchingItinerary
Any special notes on configuration used
No special config used.
Version of otp-middleware and/or OpenTripPlanner if applicable (exact commit hash or branch name)
Latest
dev
branch.The text was updated successfully, but these errors were encountered: