BTW, the code fails at
if (_book == null) {
// Only test cases omit the book (expecting it not to be needed)
throw new IllegalStateException("Need book to evaluate
name '" + name + "'");
}
and member _book is initialized in the constructor with whatever you
provide as second parameter in FormulaParser.parse(), so it seems you
start passing in null here somehow...
Dominik.
On Sun, Mar 22, 2015 at 1:26 AM, Nick Burch <[email protected]> wrote:
> On Sun, 22 Mar 2015, Andreas Reichel wrote:
>>
>> it is my own class/code and I have shown the line causing this bug which
>> is pure POI:
>>
>> Ptg[] ptgs= FormulaParser.parse(
>> oldFormula
>> , parsingWorkbook
>> , FormulaType.CELL
>> , workbook.getSheetIndex(worksheet));
>
>
> Can you write a small junit unit test that shows up this problem? And did
> you try it with Apache POI 3.12 beta 1?
>
>
> Nick
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]