java.lang.ArrayIndexOutOfBoundsException

User aed4f53879

09-09-2014 21:52:28

This gives me a fatal error.  I think it must be due to a bug in JCHEM.JCHEM_CORE_PKG


select jc_compare('c1ccccc1NCc1ccccc1','[H]C([H])c1c(-c:c)n(-!@c:c)c2c([H])c([H])c([H])c([H])c12', 't:s') from dual;


but this does not.  Note the only change is a minor change in the input smiles.


select jc_compare('c1ccccc1Cc1ccccc1','[H]C([H])c1c(-c:c)n(-!@c:c)c2c([H])c([H])c([H])c([H])c12', 't:s') from dual;


The error for the first statement above is:


ORA-29532: Java call terminated by uncaught Java exception: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is:
    java.rmi.RemoteException: chemaxon.sss.search.SearchException: An error occured during search:java.lang.ArrayIndexOutOfBoundsException: 39

Query:[H]C([H])c1c(-c:c)n(-!@c:c)c2c([H])c([H])c([H])c([H])c12
  Target:C(Nc1ccccc1)c1ccccc1
Caused by:
39; nested exception is:
    java.lang.ArrayIndexOutOfBoundsException: 39
ORA-06512: at "JCHEM.JCHEM_CORE_PKG", line 248
ORA-06512: at "JCHEM.EXEC_FUNC", line 70
ORA-06512: at "JCHEM.COMPARE_FUNC", line 7
29532. 00000 -  "Java call terminated by uncaught Java exception: %s"
*Cause:    A Java exception or error was signaled and could not be
           resolved by the Java code.
*Action:   Modify Java code, if this behavior is not intended.

ChemAxon d4fff15f08

10-09-2014 08:58:11

Hi,


 


Thank you for your report.


We have tried to reproduce the problem with the newest versions of JChem/Cartridge, but could not succeed. Can you tell us, please what version are you using?


Best regards,


Norbert