poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 46989] Support Array formulas
Date Wed, 25 Mar 2015 00:19:56 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=46989

--- Comment #7 from Trejkaz (pen name) <trejkaz@trypticon.org> ---
What I'm finding:

- the first example now works (but somehow the attached .xls was the wrong
file, which is probably a source of confusion.)

- the second example still fails and I didn't have to update the code. Stack
trace:

java.lang.RuntimeException: Unknown grbit value (64)
    at
org.apache.poi.ss.formula.constant.ConstantValueParser.readAConstantValue(ConstantValueParser.java:76)
    at
org.apache.poi.ss.formula.constant.ConstantValueParser.parse(ConstantValueParser.java:52)
    at
org.apache.poi.ss.formula.ptg.ArrayPtg$Initial.finishReading(ArrayPtg.java:261)
    at org.apache.poi.ss.formula.ptg.Ptg.readTokens(Ptg.java:70)
    at org.apache.poi.ss.formula.Formula.getTokens(Formula.java:82)
    at
org.apache.poi.hssf.record.FormulaRecord.getParsedExpression(FormulaRecord.java:311)
    at
org.apache.poi.hssf.record.aggregates.FormulaRecordAggregate.getFormulaTokens(FormulaRecordAggregate.java:197)
    at org.apache.poi.hssf.usermodel.HSSFCell.getCellFormula(HSSFCell.java:626)
    at TestHssf.testArrayPlusMemAreaPtg(TestHssf.java:189)

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