Bob,

With JSmol, I'm getting an error message that I don't understand. I'm getting 
the same message in different contexts:

TypeError: 'undefined' is not an object (evaluating 
'java.util.Calendar.getInstance') 58490 
http://chemagic.com/JSmol/j2s/core/core.z.js

Most recently, I get this with:

set picking ON;set atomPicking ON;set picking assignAtom_C

I do NOT get this error if I put it into your Test2 page. In my own page, I get 
the error on my first click. After that all seems OK.

In the past, I got this same error when I tried to use getPropertyAsString to 
extract the molfile. In this case, I cannot get the extracted molfile.

Does anything obvious come to mind on this error message?

I should mention that I am currently using pre model kit mode pick callback 
code to replace atoms until I find the nature of this problem.

Otis

--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com







------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to