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 2010/03/10 11:37:05 UTC
DO NOT REPLY [Bug 48885] New: Error while reading Excel using POI in
Linux
https://issues.apache.org/bugzilla/show_bug.cgi?id=48885
Summary: Error while reading Excel using POI in Linux
Product: POI
Version: 2.0-dev
Platform: Other
OS/Version: Linux
Status: NEW
Severity: blocker
Priority: P2
Component: HSSF
AssignedTo: dev@poi.apache.org
ReportedBy: sagar.lonkar@zeonsolutions.com
Hi All,
I am using jakarta-poi-1.9.0-dev-20021025.jar for reading Excel file.
I have an application in which Excel file stored in FTP server and my
application getting an Excel File Input Stream using
FTPClient(org.apache.commons.net.ftp.FTPClient) and I am passing this Input
Stream to the constructor of HSSFWorkbook.
But in the constructor I am getting following error,
java.io.IOException: Unable to read entire block; 220 bytes read; expected 512
bytes
at org.apache.poi.poifs.storage.RawDataBlock.<init>(RawDataBlock.java:98)
at
org.apache.poi.poifs.storage.RawDataBlockList.<init>(RawDataBlockList.java:88)
at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:123)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:228)
at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:209)
I am having following environment detail,
Debian Linux, Dell PowerEdge 2850 server, FTP server is vsftpd, Tomcat 5.5
While same code is running on Windows without any error.
Can anybody please find any solution for this problem.
--
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 48885] Error while reading Excel using POI in
Linux
Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48885
Nick Burch <ni...@alfresco.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |LATER
--- Comment #1 from Nick Burch <ni...@alfresco.com> 2010-03-10 10:42:23 UTC ---
Try with POI 3.6, or at least something from the last year or so.... The
version of POI you're using is almost a decade old now!
--
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