https://bz.apache.org/bugzilla/show_bug.cgi?id=47245

--- Comment #22 from Triqui <pedro.t.gar...@gmail.com> ---
I made a mistake yesterday, sorry.

The attachment I was referring to in comment #20 is the file from bug 54392,
not the one attached here.
That file contains only one [ROW] record but there are several [LABELSST]
records with a different row number.

The file I attached in this bug some years ago is a bit different. There is
only one error in the first sheet. It contains 149 [ROW] records, but there is
a [LABELSST] record for the 150th row.
As mentioned in the code if there is at least one [ROW] record, all of them
should be present too, otherwise it throws an exception. This is what we are
challenging here, and I say that there is no need for that exception.
When that throw is removed, the code goes on to create a RowRecord for the
'orphan' cell and everything works perfectly.

In fact, if you open the file with LibreOffice (haven't had a chance to try it
in Excel) it shows 150 rows, and I have been working with that line commented
out for some years now and haven't seen a single error caused by that change.

I keep patching HSSFSheet for every release, but I would like to stop already.
Is there anything I can do to get this fixed?

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to