bad file descriptor on store.Area.getArea()
Smriti Rajan <[email protected]>
| Newsgroups | gmane.comp.db.mckoi |
|---|---|
| Message-ID | <[email protected]> |
Hi Toby,
java IO Exception:Bad File descriptor, gets
sporadically thrown when I try to read from store.Area
--> store.Area.getArea(buffer, 0, pos)
"Sporadically" : the read is in a loop. It is called
at different 'positions' on the same file, some
iterations on the loop it works, and some it doesnt.
File does not seem to be corrupted.
Any pointers on why this could be happening ?
Error trace attached below.
Thanks,
Smriti
-----------
java.io.IOException: Bad file descriptor
at java.io.RandomAccessFile.seek(Native
Method)
at
mckoi.store.IOBufferedFile$IOPageBuffer.initImpl(IOBufferedFile.java:79)
at
mckoi.store.PageBuffer.initialize(PageBuffer.java:184)
at
mckoi.store.AbstractBufferedFile.readByteArray(AbstractBufferedFile.java:230)
at
mckoi.store.ScatteringFileStore.readByteArrayFrom(ScatteringFileStore.java:324)
at
mckoi.store.AbstractStore$StoreArea.<init>(AbstractStore.java:1546)
at
mckoi.store.AbstractStore.getArea(AbstractStore.java:1414)
___________________________________________________________
Win a castle for NYE with your mates and Yahoo! Messenger
http://uk.messenger.yahoo.com
---------------------------------------------------------------
Mckoi SQL Database mailing list http://www.mckoi.com/database/
To unsubscribe, send a message to [email protected]