HI,
I am using ObjectDb 1.x and getting the following exception while calling the following code
PersistenceManager pm = getPersistenceManager();
if (!pm.isClosed()){
pm.evictAll();
pm.close();
}
Most of the times, the above code works fine, but sometimes it is observed that calling pm.close() is throwing the following exception
ava.lang.ArithmeticException: / by zero
at com.objectdb.td.remove(td.java:131)
at com.objectdb.af.VW(af.java:1149)
at com.objectdb.af.W8(af.java:1137)
at com.objectdb.af.E1(af.java:2560)
at com.objectdb.af.close(af.java:439)
at com.objectdb.jdo.PMImpl.close(PMImpl.java:148)
Can you please let me know what could be the reason of the above exception.
Thanks & regards,
Binit Bhaskar