poi-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 59002] RecordFormatException: Expected size 18 but got (0) when opening workbook
Date Tue, 29 Mar 2016 15:06:35 GMT
https://bz.apache.org/bugzilla/show_bug.cgi?id=59002

Dominik Stadler <dominik.stadler@gmx.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |INVALID
             Status|NEW                         |RESOLVED
            Summary|I'm getting below exception |RecordFormatException:
                   |when I have try to create   |Expected size 18 but got
                   |workbook using inputstream  |(0) when opening workbook
                   |of xls file .               |

--- Comment #5 from Dominik Stadler <dominik.stadler@gmx.at> ---
I don't think it much use to try to read files which Excel itself marks as
"corrupt", I strongly suggest you fix how the files are created in the first
place to not have to "fix" the symptoms of a corrupted file later. Please feel
free to submit a patch for this issue if you find out how this can be handled
gracefully in POI then we can see if it makes sense to handle this more
gracefully in POI.

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

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


Mime
View raw message