On Thursday 23 November 2006 02:26, Rajarshi Guha wrote:
> Aah, thanks. However when I send in a ChemFile object I get the
> following error:
>
> Exception in thread "main" java.lang.NullPointerException
>       at org.jmol.viewer.ModelManager.setShapeProperty(ModelManager.java:380)
>       at org.jmol.viewer.Viewer.setShapeProperty(Viewer.java:2683)
>       at org.jmol.viewer.Frame.doAutobond(Frame.java:1479)
>       at org.jmol.viewer.Frame.initializeModel(Frame.java:368)
>       at org.jmol.viewer.Frame.<init>(Frame.java:214)
>       at org.jmol.viewer.ModelManager.setClientFile(ModelManager.java:87)
>       at org.jmol.viewer.Viewer.openClientFile(Viewer.java:1238)
>
> Is this because I'm using the SVN version of Jmol? When I try and open
> the file that I'm using my code with the CLI Jmol it opens and displays
> fine

Not sure, but possibly... I'm not with the latest of the latest...

Bob, you have a clue on the NPE in ModelManager on line 380 ?

Egon

-- 
CUBIC
blog: http://chem-bla-ics.blogspot.com/

-------------------------------------------------------------------------
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