applet.width == 0 -->
screenPixelCount == 0 -->
cameraDistance == 0 -->
> Exception in thread "Thread-47" java.lang.ArithmeticException: / by
zero
Hmm, what's the context? I didn't know that could happen...
Bob
Timothy Driscoll wrote:
hi,
anyone seen this error:
Exception in thread "Thread-47" java.lang.ArithmeticException: / by zero
at org.jmol.viewer.TransformManager.scaleToScreen
(TransformManager.java:662)
at org.jmol.viewer.Viewer.scaleToScreen(Viewer.java:441)
at org.jmol.viewer.AminoMonomer.findNearestAtomIndex
(AminoMonomer.java:160)
at org.jmol.viewer.Polymer.findNearestAtomIndex(Polymer.java:348)
at org.jmol.viewer.Mps$Mpspolymer.findNearestAtomIndex(Mps.java:352)
at org.jmol.viewer.Mps$Mpsmodel.findNearestAtomIndex(Mps.java:141)
at org.jmol.viewer.Mps.findNearestAtomIndex(Mps.java:93)
at org.jmol.viewer.Frame.findNearestAtomIndex(Frame.java:959)
at org.jmol.viewer.ModelManager.findNearestAtomIndex
(ModelManager.java:288)
at org.jmol.viewer.Viewer.findNearestAtomIndex(Viewer.java:1159)
at org.jmol.viewer.MouseManager$HoverWatcher.run(MouseManager.java:546)
at java.lang.Thread.run(Thread.java:613)
I think it might have to do with a residue number of zero but I can't
be sure. any thoughts? does/should Jmol handle residues with number
zero?
thanks,
tim
--
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
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers