java.lang.ArrayIndexOutOfBoundsException prop training CV

User 677b9c22ff

07-07-2013 05:58:18

Hi,


I used a small trainingset for solubility with crossvalidation on (error occured after CV step2) , during compound property training (via chemistry new training) got this:


java.lang.ArrayIndexOutOfBoundsException: 3
    at chemaxon.calculations.pka.IntrinsicIonization.getAvarageAromaticRingCharge(IntrinsicIonization.java:606)
    at chemaxon.calculations.pka.AcidicPKa.getAvarageAromaticRingCharge(AcidicPKa.java:2978)
    at chemaxon.calculations.pka.AcidicPKa.getCHAcidicpKa(AcidicPKa.java:666)
    at chemaxon.calculations.pka.AcidicPKa.calculate(AcidicPKa.java:77)
    at chemaxon.calculations.pka.IntrinsicIonization.getApKa(IntrinsicIonization.java:775)
    at chemaxon.calculations.pka.IntrinsicIonization.getAcidicpKa(IntrinsicIonization.java:245)
    at chemaxon.calculations.pka.Ionizer.getMicropKa(Ionizer.java:1169)
    at chemaxon.calculations.pka.Ionizer.calcSpeciesRatio(Ionizer.java:3154)
    at chemaxon.calculations.pka.Ionizer.calcSpeciesOrder(Ionizer.java:3337)
    at chemaxon.calculations.pka.Ionizer.calcMsDistribution(Ionizer.java:3500)
    at chemaxon.calculations.pka.Ionizer.calculatepKa(Ionizer.java:3788)
    at chemaxon.calculations.training.AtomicContributionBasedTrainingModel.isZwitterion(AtomicContributionBasedTrainingModel.java:1985)
    at chemaxon.calculations.training.AtomicContributionBasedTrainingModel.getDescriptorsByAtomId(AtomicContributionBasedTrainingModel.java:148)
    at chemaxon.calculations.training.AtomicContributionBasedTrainingModel.getDescriptors(AtomicContributionBasedTrainingModel.java:82)
    at chemaxon.calculations.training.AtomicContributionBasedTrainingModel.getDescriptors(AtomicContributionBasedTrainingModel.java:63)
    at chemaxon.calculations.training.AtomicContributionBasedTrainingModel.getDescriptors(AtomicContributionBasedTrainingModel.java:26)
    at chemaxon.calculations.training.CrossValidator.add(CrossValidator.java:172)
    at com.im.ijc.training.general.CrossValidationTask.phase1InRequestProcessor(CrossValidationTask.java:119)
    at com.im.commons.progress.BackgroundRunner.processTheTask(BackgroundRunner.java:128)
    at com.im.df.util.UIBackgroundRunnerRW.access$200(UIBackgroundRunnerRW.java:51)
    at com.im.df.util.UIBackgroundRunnerRW$1.run(UIBackgroundRunnerRW.java:114)
    at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
    at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1957)





Thrown to indicate that an array has been accessed with an
illegal index. The index is either negative or greater than or
equal to the size of the array.(http://docs.oracle.com/javase/6/docs/api/java/lang/ArrayIndexOutOfBoundsException.html)


Source SDF (public):http://pubchem.ncbi.nlm.nih.gov/assay/assay.cgi?aid=1996&loc=ea_ras


Click: Data Table (Complete)   and download SDF and datatable (use column L Solubility at pH 7.4_Mean_ug/mL as input for solubility)



Instant JChem Version: 5.9.4 (build: 201205120129-197701)
JChem
Version:
5.9.4
JChem Table Version: 5080100
Marvin
Version:
5.9.4 (build date: 2012-05-11)
Java: 1.6.0_26;
Java HotSpot(TM) 64-Bit Server VM 20.1-b02
System: Windows 7
version 6.1 running on amd64; 
NetBeans
build:
110214-aec102d89c78

Cheers


Tobias

User 851ac690a0

09-07-2013 14:02:54

HI,


 


Thank you for this bug report. I was able to reproduce.


The fixed version will be available in the 6.1 release.


Jozsi