Hi Nick,

I'm having problems with
org.apache.poi.hpsf.basic.TestWrite.inPlaceNPOIFSWrite() on Win7 -
it will throw an "The requested operation cannot be performed on a file with
a user-mapped section open" error.
Although I have already changed the FileBackedDataSource to not only close
the FileChannel,
but actually keep a reference for the RandomAccessFile and close it instead
(if the DataSource was opened with a file name), I keep getting the above
error. [1]
This happens with JDK6 and JDK7 and the files are stored in my windows user
directory.
I've checked the FileDescriptor.incrementAndGetUseCount() counter and it
looks fine, i.e. it's 0 when it gets overwritten again. It's also not
possible to delete the file before the next overwriting call.

Maybe you have an idea, what to check for next?

Best wishes,
Andi

[1] http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4796385



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/NPOIFS-write-support-please-test-tp5715528p5715575.html
Sent from the POI - Dev mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to