This was fixed Feb. 18. Next update will incorporate it; the prototype files are in http://www.stolaf.edu/people/hansonr/jmol/test/json

(this also fixes the select resno < nnn problem)

Index: Dots.java
===================================================================
RCS file: /cvsroot/jmol/Jmol/src/org/jmol/viewer/Dots.java,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- Dots.java   10 Nov 2005 15:52:40 -0000      1.9
+++ Dots.java   18 Feb 2006 18:05:10 -0000      1.10
@@ -192,6 +192,8 @@
     }
     // no translucency for dots
     if ("colorConvex" == propertyName) {
+      if(colixesConvex == null)
+        return;
       System.out.println("Dots.setProperty('colorConvex')");
       short colix = Graphics3D.getColix(value);
       for (int i = atomCount; --i >= 0; )

     Hi all,

I tested Jmol Version 10.00.48 with my Jmol Interface and it freezed when I applied molecule coloring commands. With Jmol Version 10.00.36 there was no coloring problem.

When I analyzed the problem it showed up that at least the 'color dots' command seems to be broken.

When I type for example 'color dots red' in the Jmol console window Jmol freezes and I get the following error message in the Java console:


Dots.setProperty('color')
Dots.setProperty('colorConvex')
java.lang.NullPointerException
    at org.jmol.viewer.Dots.setProperty(Dots.java:199)
    at org.jmol.viewer.Dots.setProperty(Dots.java:189)
    at org.jmol.viewer.Frame.setShapeProperty(Frame.java:757)
    at org.jmol.viewer.ModelManager.setShapeProperty(ModelManager.java:347)
    at org.jmol.viewer.Viewer.setShapeProperty(Viewer.java:1838)
    at org.jmol.viewer.Eval.colorObject(Eval.java:1621)
    at org.jmol.viewer.Eval.color(Eval.java:1565)
    at org.jmol.viewer.Eval.instructionDispatchLoop(Eval.java:336)
    at org.jmol.viewer.Eval.run(Eval.java:294)
    at java.lang.Thread.run(Unknown Source)


The error occurs independant of the PDB file that is loaded.

Regards,
Rolf


----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

--

Robert M. Hanson, [EMAIL PROTECTED], 507-646-3107
Professor of Chemistry, St. Olaf College
1520 St. Olaf Ave., Northfield, MN 55057
mailto:[EMAIL PROTECTED]
http://www.stolaf.edu/people/hansonr

"Imagination is more important than knowledge."  - Albert Einstein


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to