Unplanned
Last Updated: 30 Jul 2026 06:08 by Steve
Steve
Created on: 30 Jul 2026 06:08
Category: SpreadProcessing
Type: Bug Report
1
SpreadProcessing: ArgumentNullException: 'Value cannot be null. Parameter name: key' when importing a document with null RadExpression entries

Importing an XLSX workbook can crash with System.ArgumentNullException: Value cannot be null. Parameter name: key during Workbook.ResumeCalculationMapRegistration().

Root cause:
The XLSX import pipeline queued null RadExpression entries into pendingCalculationMapExpressions.
CalculationMap.AddBatch() passed those entries into ExpressionDependencyMap.AddExpressionsBatch().
GetOrCreateNodeWithCache() then called Dictionary.TryGetValue() with a null key, which threw the exception.
0 comments