Can you try to use the latest CVS version or 2.0pre at least? I made a fix with the rows that I think should help you.

danny

Dimitri Vettenburg wrote:

Hi,

I have tried the suggestion from Andy to use the iterator
(sheet.rowIterator()) but the problem remains the same. I seem to have a
problem to read in the full spread sheet.

Is that normal?


KR,



Jan


-----Oorspronkelijk bericht-----
Van: Dimitri Vettenburg [mailto:[EMAIL PROTECTED] Verzonden: zondag 25 mei 2003 15:46
Aan: '[EMAIL PROTECTED]'
Onderwerp: Problem with reasing excel file


Hi,

I am using POI1.09 and I am having problem with reading an excell file.

The program I have written is in a try catch block, catching a
nullpointerexception.

The purpose of the nullpointerexception catch is to stop reading from
the excel file when an null row is read.

It seams now that, although I have more than 35 lines in the spread
sheet, the application is telling me that row 32 (always the same one)
is null, and thus stopping from reading further on.

I have the impression that the program only has read in the first 32
rows of the spread sheet and as a result is returning the
nullpointerexception. How do I force the program to read more lines into
memory?


KR,



Jan







--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to