User c54942f5fd
21-04-2007 03:10:48
When I load a file into Libmcs, after reading it generates the arrayindexoutof bound exception. I have checked the the sdf file and it can be read / write without any problem with mview.
The error goes like this:
[abc@rose bin]$ ./libmcs test/Mol_common_4_3_1t.mrv
java.lang.ArrayIndexOutOfBoundsException: -79
at chemaxon.struc.StaticMolecule.init(StaticMolecule.java:437)
at chemaxon.struc.StaticMolecule.<init>(StaticMolecule.java:87)
at chemaxon.clustering.LibraryMCS.addMolecule(LibraryMCS.java:420)
at chemaxon.clustering.gui.JKlustorImport$1.finished(JKlustorImport.java:214)
at chemaxon.clustering.gui.SwingWorker$1.run(SwingWorker.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
The error goes like this:
[abc@rose bin]$ ./libmcs test/Mol_common_4_3_1t.mrv
java.lang.ArrayIndexOutOfBoundsException: -79
at chemaxon.struc.StaticMolecule.init(StaticMolecule.java:437)
at chemaxon.struc.StaticMolecule.<init>(StaticMolecule.java:87)
at chemaxon.clustering.LibraryMCS.addMolecule(LibraryMCS.java:420)
at chemaxon.clustering.gui.JKlustorImport$1.finished(JKlustorImport.java:214)
at chemaxon.clustering.gui.SwingWorker$1.run(SwingWorker.java:114)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137) at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)