Bugs item #2278015, was opened at 2008-11-13 13:09
Message generated for change (Comment added) made by hansonr
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2278015&group_id=23629
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Scripting
Group: v11
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Jonathan Gutow (gutow)
>Assigned to: Bob Hanson (hansonr)
Summary: 11.6.4 "message loop [...] goto loop" only does one pass
Initial Comment:
The "message loop [...] goto loop" structure now only does one pass. An
example script that fails and it's associated .pdb file is attached as a zip
file.
The program crashes (applet too) on reaching the goto with the following
message:
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)
----------------------------------------------------------------------
>Comment By: Bob Hanson (hansonr)
Date: 2008-11-13 20:06
Message:
comment in script prior to the message command target for a loop causes
exception:
#comment
message here
...
loop here
This is fixed for Jmol 11.7.12 and 11.6.5
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2278015&group_id=23629
-------------------------------------------------------------------------
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-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers