ArrayIndexOutOfBoundsException prevalent in server logs

#1

We would like to understand under what use cases this exception is thrown. This issue was unfamiliar to us till recently but this is very prevalent now.
 

Below is the stacktrace from our server logs
 

2024-10-08 19:14:59,386 ERROR [http-nio-8080-exec-196 ConsumerHistoryDAO:176] -> Failed to write consumer history due to: ArrayIndexOutOfBoundsException: -19


ObjectDB logs
 

[2024-10-08 19:14:59 #1 client] 
java.lang.ArrayIndexOutOfBoundsException: -19
    at com.objectdb.o.LOM.s(LOM.java:106)
    at com.objectdb.o.DFL.Y6(DFL.java:861)
    at com.objectdb.o.DFL.g(DFL.java:956)
    at com.objectdb.o.DSS.j(DSS.java:741)
    at com.objectdb.o.DSS.Y4(DSS.java:699)
    at com.objectdb.o.MST.Y4(MST.java:1427)
    at com.objectdb.o.WRA.Y4(WRA.java:398)
    at com.objectdb.o.WSM.Y4(WSM.java:186)
    at com.objectdb.o.STC.e(STC.java:533)
    at com.objectdb.o.SHN.F(SHN.java:563)
    at com.objectdb.o.SHN.w(SHN.java:170)
    at com.objectdb.o.HND.run(HND.java:134)
    at java.lang.Thread.run(Thread.java:745)
#2

I can confirm that this was a bug that was fixed in version 2.8.9
("Fixed a bug in leaving a snapshot.").

Version 2.7.6 is quite old. Upgrading to the last available version, 2.9.0, should solve the issue.

ObjectDB Support

Reply