Unable to repair DB by Doctor.

#1

Hi,

I am unable to repair a database by Doctor. Getting following error.

com.objectdb.o.UserException: Failed to locate field field com.apps.test.ContactTab.col8 using reflection
        at com.objectdb.o.MSG.a(MSG.java:26)
        at com.objectdb.o.UMR.s(UMR.java:665)
        at com.objectdb.o.UMR$b.y(UMR.java:1095)
        at com.objectdb.o.MMM.<init>(MMM.java:157)
        at com.objectdb.o.UTY.g(UTY.java:426)
        at com.objectdb.o.UTY.C(UTY.java:286)
        at com.objectdb.o.TYS.k(TYS.java:142)
        at com.objectdb.o.TYM.Z(TYM.java:318)
        at com.objectdb.o.TYM.<init>(TYM.java:128)
        at com.objectdb.o.MST.aA(MST.java:170)
        at com.objectdb.o.DCM.p(DCM.java:179)
        at com.objectdb.o.DCM.j(DCM.java:112)
        at com.objectdb.Doctor.main(Doctor.java:10)
Caused by: java.lang.NoSuchFieldException: col8
        at java.base/java.lang.Class.getDeclaredField(Class.java:2610)
        at com.objectdb.o.UMR$b.y(UMR.java:1089)
        ... 10 more

 

Can you please help me out to find the reason.
Thank you!
 

#2

You reported using version 2.8.2. Please try first running the Doctor of version 2.8.9 (regardless of which version of ObjectDB you use), as it is possible that this exception was fixed in recent versions.

ObjectDB Support

Reply