User 7a95044e7d
17-10-2013 12:37:45
Dear support,
I have an issue with calculating the logP of a molecule using the Java API. The molecule in question is the following: SMILES: Nc1nc2n(Cc3ccccc3F)nnc2c2nc(nn12)-c1ccco1
The process stops with an ArrayIndexOutOfBoundsException. I attached a test class to this post. is this a bug?
Thank you very much!
Matthias
--------------------------------
Error code:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 6
at chemaxon.calculations.pka.IntrinsicIonization.getHeteroAraNCount(IntrinsicIonization.java:2009)
at chemaxon.calculations.pka.IntrinsicIonization.isCrossArom(IntrinsicIonization.java:11124)
at chemaxon.calculations.pka.IntrinsicIonization.getNitrogenBasicType(IntrinsicIonization.java:10120)
at chemaxon.calculations.pka.IntrinsicIonization.setBasicAtoms(IntrinsicIonization.java:9960)
at chemaxon.calculations.pka.IntrinsicIonization.getApKa(IntrinsicIonization.java:828)
at chemaxon.calculations.pka.IntrinsicIonization.getAcidicpKa(IntrinsicIonization.java:261)
at chemaxon.calculations.pka.Ionizer.initializepKaType(Ionizer.java:2473)
at chemaxon.calculations.pka.Ionizer.calcStartValues(Ionizer.java:2013)
at chemaxon.calculations.pka.Ionizer.initMsCalculation(Ionizer.java:1930)
at chemaxon.calculations.training.logp.LogPPredictorImpl.isMacropKaCalcRequiredBylogP(LogPPredictorImpl.java:288)
at chemaxon.calculations.training.logp.LogPPredictorImpl.createIonizer(LogPPredictorImpl.java:579)
at chemaxon.calculations.training.logp.LogPPredictorImpl.predict(LogPPredictorImpl.java:263)
at chemaxon.calculations.training.AtomicContributionBasedPredictor.predictWithError(AtomicContributionBasedPredictor.java:180)
at chemaxon.calculations.training.logp.LogPPredictorImpl.predictWithError(LogPPredictorImpl.java:743)
at chemaxon.marvin.calculations.logPPlugin.run(logPPlugin.java:547)
at databasepreparation.LogPTest.<init>(LogPTest.java:46)
at databasepreparation.LogPTest.main(LogPTest.java:52)