hi, i'm just starting with some JDBM test cases.
i successfully created a file, added and committed some data, then inserted an object and called rollback. if i do a get() on that key, this Error occurs.
java.lang.Error: double get for block 0
jdbm.recman.RecordFile.get(RecordFile.java:153) jdbm.recman.PhysicalRowIdManager.fetch(PhysicalRowIdManager.java:119) jdbm.recman.RecordManager.fetchObject(RecordManager.java:235)
it thinks the key is in use but i'm pretty sure the rollback code cleared all the caches/buffers.
*note : i also get this same error if i just get the enumeration of keys, so its not specific to the "get()" operation. also, the rollback worked fine for overwritten data.
Can you post the code for your test case? I will have a look at it and try to reproduce and fix the problem.
Log in to post a comment.