ok, I'm on to it.
[EMAIL PROTECTED] wrote:
De: René Kanters <[EMAIL PROTECTED]>
spartan/benzenevib.smol
just opening this one gives:
FileManager.openFile(/Users/rkanters/Projects/Eclipse/Jmol-datafiles/
spartan/benzenevib.smol)
SmarterJmolAdapter:The Resolver thinks:SpartanSmol
Reading BEGINARCHIVE GEOMETERY atom records...
Reading PROPARC properties records...
reading VIBFREQ vibration records: freqCount = 30
java.lang.ArrayIndexOutOfBoundsException: 256
at org.jmol.adapter.smarter.SpartanSmolReader.readVibFreqs
(SpartanSmolReader.java:186)
I don't have to look much into it but here's the explanation: the Spartan Smol
reader is directly accessing the AtomSetCollection fields instead of using the
methods.
The methods check that the size of the internal arrays is big enough before
changing the values, by accessing the atoms[] directly this check is not made.
Hence the error when reaching atom number = 256
If anyone has time to fix the reader.
Nico
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers
--
Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr
"Imagination is more important than knowledge." - Albert Einstein
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers