I got exception. Source code in the attach.
If the number of records is less than 87, no exceptions.
Exception in thread "main" [ObjectDB 2.5.3_03] Unexpected exception (Error 990) Generated by Java HotSpot(TM) 64-Bit Server VM 1.7.0_07 (on Mac OS X 10.9.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at com.objectdb.o.CMV.s(CMV.java:148) at com.objectdb.o.KNV.I(KNV.java:137) at com.objectdb.o.VAR.ay(VAR.java:790) at com.objectdb.o.VAR.ax(VAR.java:780) at com.objectdb.o.NFL.Uv(NFL.java:87) at com.objectdb.o.PBI.u(PBI.java:162) at com.objectdb.o.OBI.w(OBI.java:479) at com.objectdb.o.OBI.s(OBI.java:346) at com.objectdb.o.OBI.r(OBI.java:273) at com.objectdb.o.OBI.Vk(OBI.java:239) at com.objectdb.o.BQI.Vt(BQI.java:150) at com.objectdb.o.PRG.ai(PRG.java:776) at com.objectdb.o.PRG.ag(PRG.java:705) at com.objectdb.o.PRG.af(PRG.java:553) at com.objectdb.o.QRM.U6(QRM.java:265) at com.objectdb.o.MST.U6(MST.java:933) at com.objectdb.o.WRA.U6(WRA.java:293) at com.objectdb.o.WSM.U6(WSM.java:114) at com.objectdb.o.QRR.g(QRR.java:245) at com.objectdb.o.QRR.f(QRR.java:154) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:686) at test.MyTestCase.main(MyTestCase.java:38) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:601) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)