JChem Cartridge 5.1.4 upgrade issue

ChemAxon aa7c50abf8

20-01-2009 18:13:27

Quote:
I found this issue with the upgrade to 5.1.4.





I used the upgrade-evol.sh script which executed index rebuilds for the jchem indexes at the end of the upgrade. After the upgrade, searches worked but inserts into the tables with jchem indexes failed with the following error:





Code:
ERROR at line 1:





ORA-29875: failed in the execution of the ODCIINDEXINSERT routine


ORA-29532: Java call terminated by uncaught Java exception:


java.lang.NullPointerException


ORA-06512: at "JCHEM_CART.JCHEM_CORE_PKG", line 241


ORA-06512: at "JCHEM_CART.JC_IDXTYPE_IM", line 526
    





Looking at trace file before the java exception it appears to be looking for the value idxtable.MYSCHEMA.CPD$JC_IDX_JCX.duplicateFiltering in the jchemproperties table and it is missing.





If I dropped and recreated the index it worked fine.  It appears an Oracle rebuild index does not create some new values required in jchemproperties table ?
  





Your assessment of the cause of this problem is correct. This bug will be fixed in the next JChem release.





Thank you for reporting it and sorry for the inconvenience it may have caused to you.





Regards


Peter