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 2008/04/17 21:56:09 UTC
DO NOT REPLY [Bug 44836] New: "Unable to read entire block"
IOException happens when reading the excel file which file size isn'
t the exact multiple of the 512 bytes
https://issues.apache.org/bugzilla/show_bug.cgi?id=44836
Summary: "Unable to read entire block" IOException happens when
reading the excel file which file size isn't the exact
multiple of the 512 bytes
Product: POI
Version: 3.0
Platform: PC
OS/Version: Windows XP
Status: NEW
Severity: normal
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: limin9@yahoo.com
CC: limin9@yahoo.com
We get IOException when parsing a customer's excel file which can be opened by
excel and open office. The error message is "Unable to read entire block; 250
bytes read before EOF; expected 512 bytes".
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 44836] "Unable to read entire block" IOException
happens when reading the excel file which file size isn'
t the exact multiple of the 512 bytes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44836
Nick Burch <ni...@torchbox.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |WORKSFORME
--- Comment #2 from Nick Burch <ni...@torchbox.com> 2008-04-18 03:20:01 PST ---
Try with a recent svn build - this is now only a warning
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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
DO NOT REPLY [Bug 44836] "Unable to read entire block" IOException
happens when reading the excel file which file size isn'
t the exact multiple of the 512 bytes
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44836
--- Comment #1 from Min Li <li...@yahoo.com> 2008-04-17 15:06:19 PST ---
Created an attachment (id=21827)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=21827)
The svn diff for the fix
Change the RawDataBlockList.java and RawDataBlock.java files to allow reading
the block less than 512 bytes.
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- 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