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 2009/03/24 16:44:23 UTC

DO NOT REPLY [Bug 46904] New: java.io.IOException: block[ 0 ] already removed opening xls file in HSSF

https://issues.apache.org/bugzilla/show_bug.cgi?id=46904

           Summary: java.io.IOException: block[ 0 ] already removed
                    opening xls file in HSSF
           Product: POI
           Version: 3.5-dev
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HSSF
        AssignedTo: dev@poi.apache.org
        ReportedBy: nick@torchbox.com


See:
http://www.nabble.com/Unable-to-open-Excel-2007-file-%28block--0---already-removed%29-td22669473.html#a22681523


java.io.IOException: block[ 0 ] already removed
        at
org.apache.poi.poifs.storage.BlockListImpl.remove(BlockListImpl.java:97)
        at
org.apache.poi.poifs.storage.BlockAllocationTableReader.fetchBlocks(BlockAllocationTableReader.java:190)
        at
org.apache.poi.poifs.storage.BlockListImpl.fetchBlocks(BlockListImpl.java:130)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.processProperties(POIFSFileSystem.java:530)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:176)
        at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:312)
        at
org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:293) 

Sample file that triggers it available from
http://sik.dk/var/storage/elinstallatoerregister.xls

-- 
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 46904] java.io.IOException: block[ 0 ] already removed opening xls file in HSSF

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=46904


Nick Burch <ni...@torchbox.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED




--- Comment #1 from Nick Burch <ni...@torchbox.com>  2009-03-24 09:07:33 PST ---
Fixed in svn

However, your sample file can't be opened by hssf, as it's an excel 5.0 (excel
95) file format, and hssf doesn't read ones that old

-- 
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