Bug 47312

Summary: Formula parser should reject cell references like 'B0' (with zero row number)
Product: POI Reporter: Josh Micich <josh>
Component: HSSFAssignee: POI Developers List <dev>
Severity: minor    
Priority: P2    
Version: 3.5-dev   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
URL: http://mail-archives.apache.org/mod_mbox/poi-user/200906.mbox/<759820859@web.de>
Bug Depends on:    
Bug Blocks: 56254    

Description Josh Micich 2009-06-03 16:18:37 UTC
The following code doesn't crash:

HSSFFormulaParser.parse("B0", wb);

(It actually returns a RefPtg of "B65536" in latest svn trunk).

This is a regression from version 3.2, which seems to have occurred in early 3.5-beta versions.  It was fixed by 3.5-beta4, but then re-regressed (junits didn't cover this case).
Comment 1 Josh Micich 2009-06-03 16:30:34 UTC
fixed in svn r781616

junits added