I'm getting two exceptions from this method. Could this be a result of user error or do they definitely point to a jdbm bug? If it could be a bug, I'll work on getting a small program to reproduce them (what I have now is very large). I'm using version 0.09.
Here are the exceptions:
java.lang.ArrayIndexOutOfBoundsException: 10
at jdbm.recman.TransactionManager.commit(TransactionManager.java:234)
at jdbm.recman.RecordFile.commit(RecordFile.java:249)
at jdbm.recman.PageManager.close(PageManager.java:257)
at jdbm.recman.PageManager.commit(PageManager.java:229)
at jdbm.recman.RecordManager.commit(RecordManager.java:249)
at jdbm.HTreeWrapper.get(JDBMRecordManager.java:271)
java.lang.Error: double get for block 0
at jdbm.recman.RecordFile.get(RecordFile.java:153)
at jdbm.recman.PageManager.commit(PageManager.java:231)
at jdbm.recman.RecordManager.commit(RecordManager.java:249)
at jdbm.HTreeWrapper.get(JDBMRecordManager.java:271)
Logged In: YES
user_id=982
Do you have a test case to reproduce this bug?
Are you, by any chance, using multiple threads to access the enumeration?