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 2019/01/04 10:07:50 UTC

[Bug 63057] *Cell.setCellValue(String/RichTextString) is not exception-safe

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

gallon.fizik@gmail.com <ga...@gmail.com> changed:

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

--- Comment #1 from gallon.fizik@gmail.com <ga...@gmail.com> ---
My bad, this only applies to SXSSFCell.

Also this in setCellValue(String):
if(_value.getType()==CellType.FORMULA)
  if(_value instanceof NumericFormulaValue) {
    ((NumericFormulaValue)
_value).setPreEvaluatedValue(Double.parseDouble(value));
  }
  ...
}

never happens because it is preceded by resetting the internal value to a
[Formula]StringValue, so I removed it.

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