DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13076>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13076 NullPointerException in FormulaRecord ------- Additional Comments From [EMAIL PROTECTED] 2002-11-11 22:06 ------- I found what causes the NPE. In FormulaRecord.fillFields(), if an UnsupportedOperationException is thrown while parsing, the field field_8_parsed_expr is set to null, but then the following appears in FormulaRecord.toString() (line 548): buffer.append(" .numptgsinarray = ").append(field_8_parsed_expr.size()) .append("\n"); for (int k = 0; k < field_8_parsed_expr.size(); k++ ) { Either reference to field_8_parsed_expr.size() will cause an NPE because the field was set to null. -- To unsubscribe, e-mail: <mailto:poi-dev-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:poi-dev-help@;jakarta.apache.org>
