#2 exceptions from jdbm.HTreeWrapper.get

closed-out-of-date
None
5
2001-11-14
2000-06-28
Dave Gaulke
No

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)

Discussion

  • Alex Boisvert

    Alex Boisvert - 2001-04-05

    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?

     
  • Alex Boisvert

    Alex Boisvert - 2001-04-05
    • assigned_to: nobody --> boisvert
     
  • Alex Boisvert

    Alex Boisvert - 2001-11-14
    • status: open --> closed-out-of-date
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks