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 2018/10/18 23:26:14 UTC

[Bug 62834] Regression: FormulaEvaluator.evaluateInCell() throws exception

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

Greg Woolsey <gr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|                            |All

--- Comment #1 from Greg Woolsey <gr...@gmail.com> ---
Thanks for the simple test case!  I've added it as a failing unit test to my
local build, and will commit it for regression testing once I figure out what's
going on.

One interesting point of note in the stack trace, the line in 

XSSFSheet.onDeleteFormula(cell)

is only reached for shared formulas valid for more than one cell.  I don't know
much about those (yet), but it seems plausible that calling evaluateInCell()
for the "master" formula cell somehow doesn't update the formula references
properly in this case.

That code comes from #58106, which was committed after 3.17 was released, so
that seems like a likely place to start looking.  I'll keep digging, as I'm
likely to need this also once my work project can upgrade to 4.0.

-- 
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