DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24149>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24149

Error passing inputstream to POIFSFileSystem

           Summary: Error passing inputstream to POIFSFileSystem
           Product: POI
           Version: 2.0-pre3
          Platform: All
        OS/Version: Other
            Status: NEW
          Severity: Major
          Priority: Other
         Component: POIFS
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


The file inside the zip file is to be read. 
The inputstream is taken from zip entry and passed to POIFSfilesystem. 

      ZipEntry zipentry = zip.getEntry(filename);
      InputStream inputstream=  zip.getInputStream(zipentry)


   public void getFile(InputStream teststream) throws TranslatorException
    {  
       POIFSFileSystem fs = new POIFSFileSystem(teststream);

     }

    It is giving the error message that "Unable to read entire block;363 bytes 
read; expected 512 bytes

please fix the above bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to