When exporting a graph that has multiple line series and a category scale to CSV, the error "object reference not set to an instance of an object" is thrown.
More specifically, the issue occurs when one or more of the series do not have a corresponding non-null value for every category.