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





--- Comment #7 from Yegor Kozlov <[email protected]>  2009-02-17 01:17:42 PST ---
Interestingly, although both files throw the same exception, the stack trace is
different. 

San Fillipo Schedule 12-08-08.mpp
java.io.IOException: Cannot remove block[ 11024 ]; out of range[ 0 - 9406 ]
    at
org.apache.poi.poifs.storage.BlockListImpl.remove(BlockListImpl.java:106)
    at
org.apache.poi.poifs.storage.BlockAllocationTableReader.fetchBlocks(BlockAllocationTableReader.java:196)
    at
org.apache.poi.poifs.storage.BlockListImpl.fetchBlocks(BlockListImpl.java:132)
    at
org.apache.poi.poifs.storage.SmallBlockTableReader.getSmallDocumentBlocks(SmallBlockTableReader.java:57)
    at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:176)
    at org.apache.poi.ole.Test46391.main(Test46391.java:15)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


WBS_ElectromechSysProj.mpp
java.io.IOException: Cannot remove block[ 1148 ]; out of range[ 0 - 694 ]
    at
org.apache.poi.poifs.storage.BlockListImpl.remove(BlockListImpl.java:106)
    at
org.apache.poi.poifs.storage.BlockAllocationTableReader.<init>(BlockAllocationTableReader.java:92)
    at
org.apache.poi.poifs.filesystem.POIFSFileSystem.<init>(POIFSFileSystem.java:164)
    at org.apache.poi.ole.Test46391.main(Test46391.java:15)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)


Yegor


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

Reply via email to