Hi All,

When excecuting this code:

final FileInputStream fis = new FileInputStream(file);
final HSSFWorkbook wb = new HSSFWorkbook(fis);
HSSFFormulaEvaluator.evaluateAllFormulaCells(wb);

I get the exception below:

java.lang.IllegalArgumentException: Array size should be (0) but was (114)
        at
org.apache.poi.hssf.record.formula.eval.AreaEvalBase.<init>(AreaEvalBase.java:50)
        at
org.apache.poi.hssf.record.formula.eval.Area3DEval.<init>(Area3DEval.java:32)
        at
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.evaluateArea3dPtg(HSSFFormulaEvaluator.java:510)
        at
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.evaluateCell(HSSFFormulaEvaluator.java:414)
        at
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.internalEvaluate(HSSFFormulaEvaluator.java:338)
        at
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.evaluateFormulaCell(HSSFFormulaEvaluator.java:183)
        at
org.apache.poi.hssf.usermodel.HSSFFormulaEvaluator.evaluateAllFormulaCells(HSSFFormulaEvaluator.java:278)
        at inavero.excelReporter.App.evalAllFormulas(App.java:97)
        at inavero.excelReporter.App$2.handleEvent(App.java:71)
        at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
        at inavero.excelReporter.App.main(App.java:82)

Any ideas why this is erroring out?
-- 
View this message in context: 
http://www.nabble.com/java.lang.IllegalArgumentException%3A-Array-size-should-be-%280%29-but-was-%28114%29-tp18273053p18273053.html
Sent from the POI - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to