From: Rolf H. <rh...@fl...> - 2006-12-07 16:20:58
|
Hi Bob, while testing Jmol 10.9.105 I noticed that 'show state' doesn't work any more with our Jmol interface. A 'show state' after the script for the initial view doesn't provide any state info and no refresh is done any more (but Jmol still seems to work; java error message shown at the bottom). I could narrow this down to 'color cartoon' (also 'color ribbon', maybe others too?), if cartoon (ribbon) is not shown. So the easiest way to reproduce the problem should be: load example.pdb; color cartoon red; show state; While narrowing down the problem, I noticed that the script console in the application only parses the first line if something is pasted in. This is quite unhandy and differs from the behaviour of the applet script console. Regards, Rolf ---- Java error message -------- java.lang.NullPointerException at org.jmol.viewer.Mps$MpsShape.setShapeState(Mps.java:449) at org.jmol.viewer.Mps$Mpsmodel.setShapeState(Mps.java:158) at org.jmol.viewer.Mps.getShapeState(Mps.java:78) at org.jmol.viewer.Frame.getState(Frame.java:3332) at org.jmol.viewer.ModelManager.getState(ModelManager.java:1172) at org.jmol.viewer.Viewer.getStateInfo(Viewer.java:1828) at org.jmol.viewer.Eval.show(Eval.java:5161) at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:700) at org.jmol.viewer.Eval.runEval(Eval.java:108) at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:2551) at org.jmol.viewer.ScriptManager.runScript(ScriptManager.java:130) at org.jmol.viewer.ScriptManager.runNextScript(ScriptManager.java:119) at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(ScriptManager.java:147) at java.lang.Thread.run(Thread.java:534) |
From: Rolf H. <rh...@fl...> - 2007-01-22 18:42:26
|
Rolf Huehne wrote: > Hi Bob, > >while testing Jmol 10.9.105 I noticed that 'show state' doesn't work any >more with our Jmol interface. A 'show state' after the script for the >initial view doesn't provide any state info and no refresh is done any >more (but Jmol still seems to work; java error message shown at the bottom). > >I could narrow this down to 'color cartoon' (also 'color ribbon', maybe >others too?), if cartoon (ribbon) is not shown. >So the easiest way to reproduce the problem should be: > >load example.pdb; >color cartoon red; >show state; > > The same problem still exists in version 11.1.7. Regards, Rolf |