HSSF sheets with even row numbers are read incorrectly by MS Project. Cause: Wrong lastrow entry in DimensionsRecord as written by method org.apache.poi.hssf.model.Sheet.addRow(RowRecord): if (row.getRowNumber() > d.getLastRow()) { d.setLastRow(row.getRowNumber() + 1); } Because of the ">" comparism, the lastrow entry will only be set on every second call to the method. Bugfix: Use ">=" for the comparism.
Created attachment 10100 [details] This patch contains the "one character" patch as described in bug 26465
Fixed in 2.0 branch