|
If a user mistypes "translate 10", the following exception will be thrown and Jmol will stop functioning. Exception in thread "Thread-12" java.lang.ArrayIndexOutOfBoundsException: 2 at org.jmol.viewer.Eval.translate(Eval.java:1782) at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:370) at org.jmol.viewer.Eval.run(Eval.java:289) at java.lang.Thread.run(Unknown Source) A more general question is, can Jmol recover if the script parser encounters errors such as this? I would like to see this type of exception be handled so that the user can have a chance to correct the mistake without having to restart the Jmol application. Thanks, Charles Xie |
- [Jmol-developers] Jmol bug report Charles(Qian) Xie
