When I use OperandResolver.parseDouble to parse a string like excel and I write OperandResolver.parseDouble("-"); then occurs the following bug: Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at org.apache.poi.hssf.record.formula.eval.OperandResolver.parseDouble(OperandResolver.java:247) PS: I know this will never use by anybody in this way, but if we calculate a formula with a reference to a minus, then occur exactly this, because the formulae use also OperandResolver.parseDouble
Fix for https://issues.apache.org/bugzilla/show_bug.cgi?id=49723 will resolve this defect
Fixed in r984161 by the patch submitted in Bugzilla 48472 Yegor