Issue #565: Exception on the recovery of a database

Type: Bug ReoprtVersion: 2.3.2Priority: LowStatus: FixedReplies: 3

I've had this exception on the recovery of a database:

[2011-11-06 04:33:41 #19 store]
Exception during recovery of 'F:\calculationservice\objectdb\dbs\admin\WorkflowHistoryArchive.odb': java.lang.ArrayIndexOutOfBoundsException
at com.objectdb.o.SFL.J(
at com.objectdb.o.SFL.I(
at com.objectdb.o.SFL.<init>(
at com.objectdb.o.MST.<init>(
at com.objectdb.o.MST.aH(
at com.objectdb.o.MSF.UI(
at com.objectdb.jpa.EMF.createEntityManager(
at rbccm.felix.gridservice.admin.dao.ConnectionManagerFactory.createEntityManager(Unknown Source)
at rbccm.felix.gridservice.admin.dao.HistoryArchiver.populateArchive(Unknown Source)
at rbccm.felix.gridservice.admin.dao.HistoryArchiver.moveHistory(Unknown Source)
at rbccm.felix.gridservice.admin.dao.HistoryArchiver.access$400(Unknown Source)
at rbccm.felix.gridservice.admin.dao.HistoryArchiver$ Source)

This may reflect a normal situation in which the last record in the recovery file is incomplete. In that case the last record is ignored (since it represents a transaction that has not been completed). But maybe the output should be changed.

After this recovery - did you have any problems with the database? Can you check it with the Doctor?

ObjectDB Support

Ok, sounds reasonable. No - there were no problems with the database after recovery but I thought it was worth checking the cause of the exception.


Sure. Such reports are always useful.

I see that the exception is written to the log with a WARING level.

It would be changed to TRACE in the next build (2.3.3_01). 

ObjectDB Support