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: [email protected]
ReportedBy: [email protected]
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: [email protected]
For additional commands, e-mail: [email protected]