Bad Backups – Null Error when issuing simple query on backup via ObjectDB Explorer

#1

I have attempted to access two different backups that were taken by ObjectDB’s internal backup API.  Upon attempting to access both of the databases via ODB Explorer (via server mode) I receive the below error and stack trace in the log.  Can you please help us determine the problem and provide a solution?

 

 

[2022-03-31 18:38:15 #3 *]
[ObjectDB 2.7.6] Unexpected exception (Error 990)
  Generated by Java HotSpot(TM) 64-Bit Server VM 1.8.0_92 (on Windows NT (unknown) 10.0).
Please report this error on http://www.objectdb.com/database/issue/new
com.objectdb.o.InternalException: null
com.objectdb.o.InternalException
                at com.objectdb.o.BYR.n(BYR.java:114)
                at com.objectdb.o.BYR.O(BYR.java:207)
                at com.objectdb.o.VUT.j(VUT.java:359)
                at com.objectdb.o.OBI.d(OBI.java:287)
                at com.objectdb.o.OBI.ZR(OBI.java:241)
                at com.objectdb.o.BQI.ZC(BQI.java:153)
                at com.objectdb.o.PRG.d(PRG.java:795)
                at com.objectdb.o.PRG.h(PRG.java:724)
                at com.objectdb.o.PRG.g(PRG.java:560)
                at com.objectdb.o.QRM.Za(QRM.java:287)
                at com.objectdb.o.MST.Za(MST.java:1003)
                at com.objectdb.o.WRA.Za(WRA.java:313)
                at com.objectdb.o.WSM.Za(WSM.java:117)
                at com.objectdb.o.STC.h(STC.java:465)
                at com.objectdb.o.SHN.I(SHN.java:490)
                at com.objectdb.o.SHN.w(SHN.java:156)
                at com.objectdb.o.HND.run(HND.java:134)
                at java.lang.Thread.run(Thread.java:745)
#2

Unfortunately the stack trace in this case is not very useful. In general, it indicates an unexpected data format while reading the relevant content, i.e. the History instances.

Could you please try:

  1. opening the backup files using ObjectDB version 2.8.7.
  2. checking the database files using the ObjectDB Doctor (you can try both 2.7.6 and 2.8.7).

In addition, maybe additional information might help:

  1. Does it happen only with these 2 specific backups? Are other similar backups OK?
  2. Does it happen only in the Explorer or also when accessing these databases from your application?

If you can share these databases or similar sample database that have this issue with us (e.g. through a link for download in a private support ticket) we will be happy to check them.

ObjectDB Support

Reply