I think I've found it.  At some point the "message loop" statement  
gets lost or cleared so that the script processor does not know where  
to return to.  I haven't tried playing with spaces, linefeeds and  
returns yet.  Any thoughts on what the most likely cause is.  Could  
it be associated with loading new molecule files inside the loop?  If  
anybody has ideas, it would help me trace this.  Hopefully, I will  
have some time later to run this inside a debugger.  The final error  
which occurs upon reaching the goto command is:

Exception in thread "QueueThread0"  
java.lang.ArrayIndexOutOfBoundsException: 0
        at org.jmol.viewer.Eval.gotocmd(Unknown Source)
        at org.jmol.viewer.Eval.instructionDispatchLoop(Unknown Source)
        at org.jmol.viewer.Eval.script(Unknown Source)
        at org.jmol.viewer.Eval.instructionDispatchLoop(Unknown Source)
        at org.jmol.viewer.Eval.runEval(Unknown Source)
        at org.jmol.viewer.Viewer.evalStringWaitStatus(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript 
(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript 
(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(Unknown  
Source)
        at java.lang.Thread.run(Thread.java:613)

                          Dr. Jonathan H. Gutow
Chemistry Department                                 [EMAIL PROTECTED]
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/faculty_staff/gutow/





-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to