You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by bu...@apache.org on 2016/03/29 17:06:35 UTC

[Bug 59002] RecordFormatException: Expected size 18 but got (0) when opening workbook

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

Dominik Stadler <do...@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 <do...@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