Opened 3 years ago

Closed 3 years ago

#303 closed defect (fixed)

Null reference error when checking tracklogs

Reported by: Dawson Owned by: Joerg Ewald
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 (2)

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 (5)

Changed 3 years ago by Dawson

Attachment: CorryongCup2013_Open.fsdb added

Changed 3 years ago by Dawson

Attachment: Task4.rar added

comment:1 Changed 3 years ago by Joerg Ewald

Version: 2013 R3.22014 R1

comment:2 Changed 3 years ago by Joerg Ewald

Status: newassigned

comment:3 Changed 3 years ago by Joerg Ewald

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.