Dear Bob, The following crashes the Jmol_S Java applet, version 2015.11.07, in FirstGlance in Jmol. It also crashes Jmol_S applet version 2015.10.17 at
http://chemapps.stolaf.edu/jmol/jsmol/jsmol.htm?_USE=SIGNED It does not crash JSmol. I did not succeed in reproducing this in the application. My tests were in Firefox and Safari, OS X (Yosemite), Java 1.8.0_65. The same crash occurs in Windows 7 with IE11, Java 1.8.0_65. To demonstrate: Go the above StOlaf URL (default caffeine molecule). Use the Jmol menu to open the Jmol Console. Enter this command in the console: isosurface delete So far, so good, no crash. (Note that there are no isosurfaces in the display.) isosurface * delete This crashes Jmol_S applet with the following in the Java console: jmolApplet0__657817200757563__ couldn't find applet consoleFontScale script 4 started Script completed Jmol script terminated script 5 started isosurface * delete; java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.charAt(String.java:658) at org.jmol.console.GenericConsole.outputMsg(Unknown Source) at org.jmol.console.GenericConsole.sendConsoleMessage(Unknown Source) at org.jmol.console.GenericConsole.notifyCallback(Unknown Source) at org.jmol.util.GenericApplet.notifyCallback(Unknown Source) at org.jmol.viewer.StatusManager.setScriptEcho(Unknown Source) at org.jmol.viewer.Viewer.scriptEcho(Unknown Source) at org.jmol.viewer.Viewer.showString(Unknown Source) at org.jmol.script.ScriptEval.showStringPrint(Unknown Source) at org.jmol.script.ScriptEval.showString(Unknown Source) at org.jmol.scriptext.ScriptExt.showString(Unknown Source) at org.jmol.scriptext.IsoExt.listIsosurface(Unknown Source) at org.jmol.scriptext.IsoExt.isosurface(Unknown Source) at org.jmol.scriptext.IsoExt.dispatch(Unknown Source) at org.jmol.script.ScriptEval.processShapeCommand(Unknown Source) at org.jmol.script.ScriptEval.processCommand(Unknown Source) at org.jmol.script.ScriptEval.commandLoop(Unknown Source) at org.jmol.script.ScriptEval.dispatchCommands(Unknown Source) at org.jmol.script.ScriptEval.executeCommands(Unknown Source) at org.jmol.script.ScriptEval.evaluateCompiledScript(Unknown Source) at org.jmol.script.ScriptManager.evalStringWaitStatusQueued(Unknown Source) at org.jmol.viewer.Viewer.evalStringWaitStatusQueued(Unknown Source) at org.jmol.script.ScriptQueueThread.runNextScript(Unknown Source) at org.jmol.script.ScriptQueueThread.run1(Unknown Source) at org.jmol.thread.JmolThread.run(Unknown Source) ---------------- Eric ------------------------------------------------------------------------------ Presto, an open source distributed SQL query engine for big data, initially developed by Facebook, enables you to easily query your data on Hadoop in a more interactive manner. Teradata is also now providing full enterprise support for Presto. Download a free open source copy now. http://pubads.g.doubleclick.net/gampad/clk?id=250295911&iu=/4140 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users