Bugs item #3466163, was opened at 2011-12-27 15:06
Message generated for change (Comment added) made by gutow
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=3466163&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Applet
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Jonathan Gutow (gutow)
Assigned to: Bob Hanson (hansonr)
Summary: Calls to jmolGetPropertyAsString fails in 12.2.10

Initial Comment:
I'm getting failures with the message of "NPObject not found" when I call 
jmolGetPropertyAsString more than once on an applet for version 12.2.10.  I 
haven't backtracked through all the versions but it works fine with 12.0.45, 
which is what I was upgrading from.

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

>Comment By: Jonathan Gutow (gutow)
Date: 2012-01-05 18:36

Message:
Unfortunately there is not an error trace, after that call is made the
applet hangs without an error in the Java Console.  The JavaScript error
console of the browser does show the error I've quoted and identifies the
line where the call to jmolGetPropertyAsString occurs.  
See this page on my website for an example.  
http://www.uwosh.edu/faculty_staff/gutow/Jmol_test_page/test%20of%20Jmol%20--%20Sage.html
To get the failure:
1) Load Jmol by clicking the "Make Interactive" button
2) Click on the "Get Static Image to Save (sleep)" button to cause the
failure.

Most of the other features work, although I haven't finished redoing the
switch to signed applet to use the new feature in Jmol.js.

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

Comment By: Bob Hanson (hansonr)
Date: 2012-01-05 17:33

Message:
I can't reproduce the problem. What's the error trace showing that NPObject
error?

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

Comment By: Jonathan Gutow (gutow)
Date: 2012-01-05 16:18

Message:
I've traced it in version 12.2.11 to calls of the form

pictureStr = jmolGetPropertyAsString("image","",n)

where n is assigned a value by the rest of the javascript.

It seems to be working for getting the StateInfo.

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

Comment By: Jonathan Gutow (gutow)
Date: 2011-12-30 17:12

Message:
Traveling now.  Will post a simplified example page as soon as I can.

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

Comment By: Bob Hanson (hansonr)
Date: 2011-12-30 10:34

Message:
Not seeing that myself with Jmol 12.3. Can you show a page where that is
happening?

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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=3466163&group_id=23629

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to