[prev in list] [next in list] [prev in thread] [next in thread]
List: poi-user
Subject: Re: org.apache.poi.ss.formula.FormulaParser.parseNonRange(FormulaParser.java:543)
From: Andreas Reichel <andreas () manticore-projects ! com>
Date: 2015-03-22 12:14:36
Message-ID: 1427026476.5764.1.camel () manticore-projects ! com
[Download RAW message or body]
Dominik,
thank you a lot, I will have too look into that.
Indeed I could reproduce the problem with a simplified code example yet
so I'll have to dig into the problem step by step.
Cheers!
On Sun, 2015-03-22 at 11:59 +0100, Dominik Stadler wrote:
> 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 <apache@gagravarr.org> 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: user-unsubscribe@poi.apache.org
> > For additional commands, e-mail: user-help@poi.apache.org
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
> For additional commands, e-mail: user-help@poi.apache.org
>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic