On Sat, 16 Feb 2008, Jari Niskala wrote:
My problem scenario occurs when I'm trying to read a MS Project file, then
modify it and finally write its contents to another file using the
POIFSFileSystem.
However, even with just reading, then writing the contents I am getting
this exception:
java.io.IOException: block[ 0 ] already removed
Looks like your file might be corrupt. You shouldn't be seeing an error
like that with a valid file. I'd suggest opening it up in project, and
doing a "save as" to force a full write, and see if that fixes it
Also, have you come across MPXJ [1]? It's an open source project for
handling project files, which uses POI for the low level manipulation
Nick
[1] http://mpxj.sourceforge.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]