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/06/26 22:50:42 UTC

DO NOT REPLY [Bug 45290] New: java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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

           Summary: java.io.IOException: block[ 44 ] already removed from
                    org.apache.poi.poifs.storage.BlockListImpl.remove
           Product: POI
           Version: 3.0
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: critical
          Priority: P1
         Component: POIFS
        AssignedTo: dev@poi.apache.org
        ReportedBy: dgoldenberg@attivio.com


I am getting this exception on one specific document from a customer. The
origin of this document is unclear.

We're running POI 3.0.1 Final.

Has this issue been resolved since?

I know other folks have reported something similar before, e.g. 
https://issues.apache.org/bugzilla/show_bug.cgi?id=32076

Please advise.
Thanks.


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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





--- Comment #4 from Poul Bildsøe <po...@capgemini.com>  2008-08-28 04:00:50 PST ---
Just as a comment. If have seen this error once when I was trying to load an
xls-file that (wrongly) has been placed in CVS with ASCII substitution. As soon
as the file was converted to binary the error disappeared.


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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


Dmitry Goldenberg <dg...@attivio.com> changed:

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




--- Comment #5 from Dmitry Goldenberg <dg...@attivio.com>  2008-10-31 11:51:21 PST ---
Folks,
I just verified and I am still seeing this exception with 3.2 FINAL.

We really would like to see this fixed since we have a customer that keeps
asking about it :)

And I'd love to contribute to the fix but unfortunately the "block[ 44 ]
already removed" error is not informative enough for me to do anything about
it.

Anyone?

Thanks!


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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


Dmitry Goldenberg <dg...@attivio.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #7 from Dmitry Goldenberg <dg...@attivio.com>  2008-11-03 04:59:01 PST ---
Nick,

Yes, this indeed is the case; I'm seeing the behavior on the attached file,
using 3.2 FINAL.

Here is the stack trace:

java.io.IOException: block[ 44 ] 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)

- Dmitry


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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





--- Comment #8 from Nick Burch <ni...@torchbox.com>  2008-11-12 07:39:38 PST ---
Ah, this is a subtly different error message to the one in bug #44898

Some digging deep into poifs is probably needed


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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





--- Comment #10 from Dmitry Goldenberg <dg...@attivio.com>  2008-11-12 10:33:56 PST ---
Nick,

No idea really how this file was created. It came from a customer and I believe
they had been googling for test files.

Could you point me at the the files that contain your fix? Is this off 3.2
FINAL?

Thanks for the quick turnaround!


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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





--- Comment #11 from Nick Burch <ni...@torchbox.com>  2008-11-13 08:50:28 PST ---
commits@poi.apache.org IYF here:
http://mail-archives.apache.org/mod_mbox/poi-commits/
http://mail-archives.apache.org/mod_mbox/poi-commits/200811.mbox/%3c20081112182543.8D52C23888F1@eris.apache.org%3e


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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


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

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




--- Comment #9 from Nick Burch <ni...@torchbox.com>  2008-11-12 10:25:11 PST ---
Your file seems really odd - the block containing the header information is
then listed at the end of the normal blocks list.

So, poifs pulls out the header block to process, then sets off along the data
block list, hits a reference to the header block that's already been handled,
and gets in a huff

I've just committed a workaround to svn, where if the block is already gone and
it's the header block, then consider the data blocks section done. Hopefully
that'll fix it for you, but there does seem to be something very odd about the
file. Do you happen to know how it was created?


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEEDINFO




--- Comment #6 from Nick Burch <ni...@torchbox.com>  2008-11-02 20:18:20 PST ---
I was pretty sure we had fixed this in svn months and months ago :(

Can you confirm that the excel file attached to the bug triggers it?


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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





--- Comment #1 from Dmitry Goldenberg <dg...@attivio.com>  2008-06-26 13:51:51 PST ---
Created an attachment (id=22182)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22182)
the doc

This is the document that I'm seeing the behavior on.


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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


Dmitry Goldenberg <dg...@attivio.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dgoldenberg@attivio.com




--- Comment #2 from Dmitry Goldenberg <dg...@attivio.com>  2008-06-26 13:53:12 PST ---
Here is the stack trace:

java.io.IOException: block[ 44 ] 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:129)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.processProperties(POIFSFileSystem.java:412)
        at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:103)


-- 
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 45290] java.io.IOException: block[ 44 ] already removed from org.apache.poi.poifs.storage.BlockListImpl.remove

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


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

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




--- Comment #3 from Nick Burch <ni...@torchbox.com>  2008-06-27 02:15:45 PST ---
I'm pretty sure this was fixed a while back.

Please try with 3.1-BETA2, or 3.1 final when that comes out (hopefully next
week)


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