Exception when calling molecule.transform(...)

User e7455c8684

07-03-2007 17:03:43

[SunJDK14ConditionalEventPump] Exception occurred during event dispatching:


java.lang.ClassCastException: java.util.HashMap$Entry


at chemaxon.struc.prop.MHCoords3DProp.transform(MHCoords3DProp.java:185)


at chemaxon.struc.MPropertyContainer.transform(MPropertyContainer.java:289)


at chemaxon.struc.MoleculeGraph.transform(MoleculeGraph.java:1604)


at chemaxon.struc.Molecule.transform(Molecule.java:2535)


at chemaxon.struc.MoleculeGraph.transform(MoleculeGraph.java:1571)





It only happened on a certain pairs of molecules.





I'm using jchem_3.2.3.jar.





Thanks,





Jun

User f359e526a1

08-03-2007 09:21:45

Hello, apparently the entries are not DPoint3[] (arrays) when performing the transformation. Do you have a sample molecule that you can post that fails so we can have a closer look?