ShammyLevva / FTAnalyzer

Family Tree Analyzer - Finds hidden details in your family tree. Install at
http://www.ftanalyzer.com/install
Apache License 2.0
54 stars 22 forks source link

[BUG] Exporting an empty error list throws an error #296

Closed brianfreud closed 6 months ago

brianfreud commented 1 year ago

Version Number problem appears in 10.0.0.0-beta3

Describe the bug Attempting to export an error list, when the error list is empty, throws a "Object reference not set to an instance of an object" error.

To Reproduce Steps to reproduce the behavior: 1 Load an error-free gedcom. 2 Attempt to export an error list.

Expected behavior Either a prompt that the error list is empty, or an empty exported csv.

brianfreud commented 1 year ago

This may not only be connected to the data errors list being empty, as I am now also getting the same error trying to export the data errors list from a gedcom that does have data errors.

ShammyLevva commented 6 months ago

The export routine needs to check for empty list. Fixed for v10.0.0.0-beta6.