I¹m getting an odd (and hard to reproduce) crash with the Jmol applet
(Firefox or Safari on OS X, version 11.1.48_dev).  I try and load an inline
model and sporadically get the error listed below.  It seems to always be in
the middle of creating the new bonds (my page creates all the bonds manually
from a connection list) after the molecule loads.

For some reason I never get the same error under Windows (Firefox or IE).

If it¹s any help, my earlier version of the page that uses the 11.1.22
applet does not produce the same error.

Dean Johnston

---------------------------
FileManager.openStringInline()
The Resolver thinks Xyz
ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false
1 model in this collection. Use getProperty "modelInfo" or getProperty
"auxiliaryInfo" to inspect them.
ModelSet: autobonding; use  autobond=false  to not generate bonds
automatically
data "model molecule"
|12|molecule|C   -1.2125   -0.7000    0.0000|C   -1.2125    0.7000
0.0000|C    0.0000    1.4000    0.0000|C    1.2124    0.7000    0.0000|C
1.2124   -0.7000    0.0000|C    0.0000   -1.4000    0.0000|H   -2.1478
-1.2400    0.0000|H   -2.1478    1.2400    0.0000|H    0.0000    2.4800
0.0000|H    2.1477    1.2400    0.0000|H    2.1477   -1.2400    0.0000|H
0.0000   -2.4800    0.0000|
12 bonds deleted
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
Exception in thread "AWT-EventQueue-8" java.lang.NullPointerException
    at org.jmol.shape.Sticks.setModelClickability(Unknown Source)
    at org.jmol.modelset.ModelSet.setModelVisibility(Unknown Source)
    at org.jmol.modelset.ModelManager.setModelVisibility(Unknown Source)
    at org.jmol.viewer.Viewer.setModelVisibility(Unknown Source)
    at org.jmol.viewer.Viewer.renderScreenImage(Unknown Source)
    at org.jmol.applet.Jmol.update(Unknown Source)
    at org.jmol.applet.Jmol.update(Unknown Source)
    at org.jmol.appletwrapper.AppletWrapper.update(Unknown Source)
    at sun.awt.RepaintArea.updateComponent(RepaintArea.java:267)
    at sun.awt.RepaintArea.paint(RepaintArea.java:233)
    at apple.awt.ComponentModel.handleEvent(ComponentModel.java:251)
    at apple.awt.MyCPanel.handleEvent(MyCPanel.java:97)
    at java.awt.Component.dispatchEventImpl(Component.java:4097)
    at java.awt.Container.dispatchEventImpl(Container.java:2068)
    at java.awt.Component.dispatchEvent(Component.java:3869)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
    at jep.MySimpleEventQueue.dispatchEvent(MySimpleEventQueue.java:59)
    at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:269)
    at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
1 new bonds; 0 modified
perspectivedepth = false
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to