Java Apache POI Excel reading exception -


I am trying to use POI to read an Excel file. This will be a large file (> 50 rows), so I'm using EventsMadeel instead of a simple user mode, which reads in full file memory. My code looks like this:

  file file = new file ("C: \\ bigfile.xls"); InputStream input = new FileInputStream (file); EventRecordFactory factory = New EventRecordfactory (New ERFListener) {@ Override Public Boolean Process Records (Records Rick) (Return blank;}}, Recordfinor.Gate Elknoword Record SIDS; factory.processRecords (input);  < / Pre> 

but I get an exception

  org.apache.poi.hssf.record.RecordFormatException: Content of an Excel record can not exceed 8224 bytes  < / Pre> 

This exception was fixed in 3.5, however, I am using 3.6 And I tried to pull the latest trunk from POI and still have the same problem.

I have only a few rows in the attempt to reduce the file but the same error

Do you have any big comments in Excel file, if so, you can try commenting after removing.


Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -