-
Notifications
You must be signed in to change notification settings - Fork 136
Description
Description
Previously I was using the function to avoid #REF errors like so: #1116
However, now when I call rebuildAndRecalculate() I get this error:
Uncaught (in promise) Error: Value of the formula cell is not computed.
getCellValue FormulaCellVertex.mjs:189
getCellValue AddressMapping.mjs:61
getCellValue DependencyGraph.mjs:533
evaluateAstWithoutPostprocessing Interpreter.mjs:78
evaluateAst Interpreter.mjs:47
evaluateAstToCellValue Evaluator.mjs:117
recomputeFormulaVertexValue Evaluator.mjs:112
recomputeFormulas Evaluator.mjs:98
recomputeFormulas Evaluator.mjs:96
run Evaluator.mjs:32
measure Statistics.mjs:73
run Evaluator.mjs:31
buildEngine BuildEngineFactory.mjs:94
rebuildWithConfig BuildEngineFactory.mjs:46
rebuildWithConfig HyperFormula.mjs:4228
rebuildAndRecalculate HyperFormula.mjs:893
calculate WorkbookCalculator.ts:91
calc BuildingForm.tsx:62
onSubmit BuildingForm.tsx:123
React 23
index.tsx:6
FormulaCellVertex.mjs:189:12
the context around the error is this:
/**
* Returns cell value stored in vertex
*/
getCellValue() {
if (this.cachedCellValue !== undefined) {
return this.cachedCellValue;
} else {
throw Error('Value of the formula cell is not computed.');
}
}
It seems to occur on some regular formula that was previously working fine. I'm not sure what changed and I'm having trouble creating a minimum sized example of the problem. Any idea why I'd get that?
Video or screenshots
No response
Demo
I will try to provide one soon, but it's difficult to trim down the code.
HyperFormula version
3.0.0
Your framework
react built with vite
Your environment
firefox on windows