Ticket #303 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

Null reference error when checking tracklogs

Reported by: Dawson Owned by: joerg
Priority: major Milestone: 2014
Component: FsComp Version: 2014 R1
Keywords: Cc:

Description

Testing 2014 preview by re-scoring Corryong Cup 2013.

I opened the .fsdb file for the comp in FS Comp 2014 R1, and clicked on "Task 4" then selected all of the tracks (CTRL-A) and used the rigt-click context menu to select "Check Tracklog(s)"

A dialog is displayed saying "Object reference not set to an instance of an object."

The error happens on three of the tracks in the task.

Under debug, I identified that the exception is thrown on line 837 of UcTasks?.cs when started_ss is null.

The previous line of code sets started_ss from flight.StartOfSpeedSectionTime?, but for the affected tacks, FlightSys?.FsTaskFlight?.Flight StartOfSpeedsectionTime? property returns null. It does this when crossing[i] is null

if (i < this._crossings.Length && this._crossings[i] != null)

t = this._crossings[i].Time;

Attachments

CorryongCup2013_Open.fsdb (406.6 KB) - added by Dawson 3 years ago.
Task4.rar (2.5 MB) - added by Dawson 3 years ago.

Change History

Changed 3 years ago by Dawson

Changed 3 years ago by Dawson

comment:1 Changed 3 years ago by joerg

  • Version changed from 2013 R3.2 to 2014 R1

comment:2 Changed 3 years ago by joerg

  • Status changed from new to assigned

comment:3 Changed 3 years ago by joerg

  • Status changed from assigned to closed
  • Resolution set to fixed
Note: See TracTickets for help on using tickets.