https://bz.apache.org/bugzilla/show_bug.cgi?id=60670

--- Comment #7 from Nick Burch <apa...@gagravarr.org> ---
I've just tried with your program and your 3gb msi file, but I think the file
might be corrupt? When I run the program, it fails with:

Exception in thread "main" java.lang.IndexOutOfBoundsException: Index: 8, Size:
8
        at java.util.ArrayList.rangeCheck(ArrayList.java:635)
        at java.util.ArrayList.get(ArrayList.java:411)
        at
org.apache.poi.poifs.property.PropertyTableBase.populatePropertyTree(PropertyTableBase.java:128)
        at
org.apache.poi.poifs.property.PropertyTableBase.<init>(PropertyTableBase.java:63)
        at
org.apache.poi.poifs.property.NPropertyTable.<init>(NPropertyTable.java:66)
        at
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.readCoreContents(NPOIFSFileSystem.java:440)
        at
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:235)
        at
org.apache.poi.poifs.filesystem.NPOIFSFileSystem.<init>(NPOIFSFileSystem.java:168)
        at Main.main(Main.java:18)

I've done a fix for PropertyTableBase to skip broken entries. That then lets me
run your program without error

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@poi.apache.org
For additional commands, e-mail: dev-h...@poi.apache.org

Reply via email to