that's what we're looking for. Thanks. If you can remember what the VERY
LAST COMMAND you were entering was, that would be helpful. It's a bug in
the script compiler, and usually this is due to typing commands into the
console that are unfinished while checking scripts as you type. I can fix
that if you can track it down. Some line that had 50 characters, I think.


On Fri, Jun 22, 2012 at 10:30 AM, Otis Rothenberger
<[email protected]>wrote:

> Rolf,
>
> Ok, I played with it until I broke it, admittedly trying to break it. When
> it broke, the Java console had traced the script actions.
>
> I'm a bit over my head here. At the break point, the console reported what
> I'm pasting at the end of this note. The break point in this case allowed
> mouse model manipulation, but no further Jmol script was allowed.
>
> Here's the report. To your eye, does this show what causes this type of
> break? By the way, the previous script command was identical to the script
> command that broke the applet. Ethane.txt is there.
>
> Otis
>
> Jmol script terminated
> script 149 started
>
> Script completed
> Jmol script terminated
> FileManager opening http://localhost:50460/CheMagic/models/ethane.txt
> network: Cache entry not found [url:
> http://localhost:50460/CheMagic/models/ethane.txt, version: null]
> network: Connecting http://localhost:50460/CheMagic/models/ethane.txt with
> proxy=DIRECT
> network: Connecting http://localhost:50460/ with proxy=DIRECT
> network: Connecting http://localhost:50460/CheMagic/models/ethane.txt with
> cookie "cmkit235=333333333"
> Exception in thread "QueueThread0"
> java.lang.StringIndexOutOfBoundsException: String index out of range: 51
>     at java.lang.String.charAt(Unknown Source)
>     at org.jmol.script.ScriptCompiler.lookingAtLeadingWhitespace(Unknown
> Source)
>     at org.jmol.script.ScriptCompiler.compile0(Unknown Source)
>     at org.jmol.script.ScriptCompiler.parseScript(Unknown Source)
>     at org.jmol.script.ScriptCompiler.compile(Unknown Source)
>     at org.jmol.script.ScriptEvaluator.compileScript(Unknown Source)
>     at org.jmol.script.ScriptEvaluator.compileScriptString(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(Unknown Source)
>
>
> --
> Otis Rothenberger
> [email protected]
> http://chemagic.com
>
>
>
>
> On Jun 21, 2012, at 10:44 PM, Otis Rothenberger wrote:
>
> Rolf,
>
> I didn't even have Java debugging turned on. I thought it was on by
> default. I have it on now. Thanks for the suggestion.
>
> Otis
>
>
> --
> Otis Rothenberger
> [email protected]
> http://chemagic.com
>
>
>
>
> On Jun 21, 2012, at 11:24 AM, Rolf Huehne wrote:
>
> On 06/21/2012 03:43 PM, Otis Rothenberger wrote:
>
> When I "play" with our Jmol model kit application for a period of time, I
> will sometimes encounter what I'll call applet fatigue. The page does not
> lock, nor am I prevented from using mouse model manipulation, but I cannot
> issue jmolScript commands.
>
>
> My gut feel is that this is not a Jmol problem. Things that cause this
> fatigue have worked numerous times prior to the onset of a fatigue
> incident. I cannot raise the Jmol console to look at history, however.
>
>
> Does this sound like a Java memory issue? Does anyone else have experience
> with "applet fatigue?"
>
>
> I probably observed this kind of behaviour sometimes after java errors.
> Usually Jmol totally freezed but with some errors only the scripting
> engine seemed to be blocked but Jmol still reacted to some mouse actions.
>
> Do you see any error messages in the Java console if "applet fatigue"
> occurs?
>
> Regards,
> Rolf
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats.
> http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/_______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Chemistry Department
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to