The code for generating the conformers is as below: private void generateConformers(OBMol mol) {
OBConformerSearch conformerSearch = new OBConformerSearch(); OBConformerScore score = new OBEnergyConformerScore(); conformerSearch.SetScore(score); if (!conformerSearch.Setup(mol, nrOfConformers, nrOfChildren, mutability, convergence)) { String message = "Generating conformers failed."; throw new MoleculeInitializationException(message, mol); } conformerSearch.Search(); conformerSearch.GetConformers(mol); } In the calling code the exception is caught. And I can actually use this same code (class) above in a more simplified script and it works fine. So I'm kind of lost...The simpler script does not write any result to a file. -- View this message in context: http://forums.openbabel.org/Java-API-setting-OBConformerScore-will-crash-application-tp4656958p4656962.html Sent from the General discussion mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349351&iu=/4140/ostg.clktrk _______________________________________________ OpenBabel-discuss mailing list OpenBabel-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openbabel-discuss