Hi!

When using  Jmol in an application I still sometimes observe a thread  
problem.

What happens is that sometimes after loading of a new file Jmol gets  
hung up and freezes.
It seems it is related to an Eval being performed while the loading is  
going on.
Unfortunately while trying to find a small reproducible example I did  
not succeed so far.

viewer.isScriptExecuting()
returns true after such a crash

at typical exception that can be found then is
java.lang.NullPointerException
        at org.jmol.viewer.Eval.expression(Eval.java:831)
        at org.jmol.viewer.Eval.select(Eval.java:2736)
        at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:478)
        at org.jmol.viewer.Eval.runEval(Eval.java:105)
        at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:2204)
        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 
:146)
        at java.lang.Thread.run(Thread.java:552)

Any ideas?
Andreas

-----------------------------------------------------------------------

Andreas Prlic      Wellcome Trust Sanger Institute
                               Hinxton, Cambridge CB10 1SA, UK
                         +44 (0) 1223 49 6891


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to