You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2025/05/13 18:45:37 UTC

[Bug 69688] Exception regarding formulas thrown when using HSSFRow copyRowFrom method even though data has no formulas

https://bz.apache.org/bugzilla/show_bug.cgi?id=69688

--- Comment #1 from PJ Fanning <fa...@yahoo.com> ---
I added
https://github.com/apache/poi/commit/de0d120d6955caef3841f8c45922b9c520df779f
and
https://github.com/apache/poi/commit/9df7326140541e5b270cffc4bb0e0b5fc62bd661.

The test in 9df7326140541e5b270cffc4bb0e0b5fc62bd661 needs more work and so
far, it doesn't even fail for me without the
de0d120d6955caef3841f8c45922b9c520df779f code change.

Even so, de0d120d6955caef3841f8c45922b9c520df779f is safer than the way the
code was before. cell.getCellFormula is usually only called after checking the
cellType is CellType.Formula.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org