can't work on this immediately, but please send that file to me offline
so I can try that myself -- unless it does it with any file. Are you
using the latest release? 11.5.38? All this command does is send the
script command
load "/archivio2/rionda/uni/3d/1grz.pdb"
Bob Hanson
Matteo Riondato wrote:
>Hi folks,
>I'm using Jmol embedded in a Java application I'm developing, but have
>some troubles while loading a PDB file (any PDB file) with the
>instruction viewer.openFile("FILENAME");
>
>Here is what I get:
>FileManager opening /archivio2/rionda/uni/3d/1grz.pdb
>Exception in thread "Thread-2" java.lang.NullPointerException
>at org.jmol.viewer.Viewer.getModelCount(Viewer.java:2077)
>at org.jmol.viewer.Eval.load(Eval.java:4135)
>at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:944)
>at org.jmol.viewer.Eval.runEval(Eval.java:275)
>at org.jmol.viewer.Viewer.evalStringWaitStatus(Viewer.java:3376)
>at org.jmol.viewer.ScriptManager.runScript(ScriptManager.java:135)
>at org.jmol.viewer.ScriptManager.runNextScript(ScriptManager.java:124)
>at
>org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(ScriptManager.java:152)
>at java.lang.Thread.run(Thread.java:595)
>
>Any suggestion ?
>Thanks in advance and
>best regards
>
>
>------------------------------------------------------------------------
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by: Microsoft
>Defy all challenges. Microsoft(R) Visual Studio 2008.
>http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>
>------------------------------------------------------------------------
>
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Professor of Chemistry
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
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users