poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 49156] NPE when evaluateInCell is used
Date Mon, 10 May 2010 14:21:16 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=49156

--- Comment #4 from Vasili <vgavr@rogers.com> 2010-05-10 10:21:11 EDT ---
We are not doing anything special.
The only difference is one line (please make diff).
You can remove switch statement after the call and it will be the same crash,
so the only difference is:

formulaEvaluator.evaluateInCell(c); //crashes with the NPE

or

CellValue cv = formulaEvaluator.evaluate(c); //working


It crashes on all our files. I can't send the file since it is internal. I can
send it to you directly although. But it seems it will not very helpful and
will only confuse since we have thousands of cells and the order of reading is
not sequential, so we'll need somehow to simulate the order etc. May be it is
easier to understand the cause theoretically? If it is not possible, we can
think - how to separate the problem into an individual test case. Let me know -
if you need my help in this.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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


Mime
View raw message