Hi,opening a file with simple databars and saving the file without doing anything else is causing this exception.System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at ClosedXML.Excel.XLCFDataBarConverter.Convert(IXLConditionalFormat cf, Int32 priority, SaveContext context) at ClosedXML.Excel.XLCFConverters.Convert(IXLConditionalFormat conditionalFormat, Int32 priority, SaveContext context) at ClosedXML.Excel.XLWorkbook.GenerateWorksheetPartContent(WorksheetPart worksheetPart, XLWorksheet xlWorksheet, SaveContext context) at ClosedXML.Excel.XLWorkbook.CreateParts(SpreadsheetDocument document) at ClosedXML.Excel.XLWorkbook.CreatePackage(String filePath)I attached a simple xlsx. I also tried the latest check-in.Edit: I should have uploaded the valid file - not the corrupted one.br,Peter
↧