Null reference in timetable mode

Bug #1914431 reported by cjakeman on 2021-02-03
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Low
cjakeman

Bug Description

The code checks the Wiper property of the leading loco but, in timetable mode, the leading loco may be null.

This is caught by a try .. catch, where a null check would be better practice.

cjakeman (cjakeman) on 2021-02-03
Changed in or:
assignee: nobody → cjakeman (cjakeman)
importance: Undecided → Low
status: New → Triaged
cjakeman (cjakeman) on 2021-02-03
Changed in or:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers