I encountered a bug today by upgrading one of my websites with the latest dev 
version 12_2RC6.
The page uses the signed applet.
It does complex things as extracting sequences, updating the display while 
hovering residues labels, etc... But after a while, it stalls when I switch 
between two panels in my HTML (the switching triggers a "hover off" command). 
Then any subsequent command is ignored. It becomes impossible to open the 
console, and I have to reload the page or sometimes even to restart the web 
browser (it happens both with safari and firefox on my mac OS10.6)
I've tried to reproduce the error by typing the command "hover off" from the 
console, with no success.
I've also retried with the previous jar file (12.1.46), by using the 
?JMOLJAR=xxxx trick, and I can confirm that this previous version worked well 
and did not display this bug.

The only message I got is from the Java Console. Here is the complete record :

Module Java 1.6.0_26
Utilisation de la version JRE 1.6.0_26-b03-384-10M3425 Java HotSpot(TM) 64-Bit 
Server VM
Répertoire de départ de l’utilisateur = /Users/paul0Jmol applet 
jmolApplet0__7112454283051193__ initializing
AppletRegistry.checkIn(jmolApplet0__7112454283051193__)
urlImage=jar:http://localhost/~paul0/portable_libmol/lib/Jmol/JmolAppletSigned0.jar!/jmol75x29x8.gif
1820 script command tokens
applet context: -applet-signed-threaded
appletDocumentBase=http://localhost/~paul0/portable_libmol/
appletCodeBase=http://localhost/~paul0/portable_libmol/lib/Jmol/
(C) 2009 Jmol Development
Jmol Version: 12.2.RC6_dev  2011-08-05 21:51
java.vendor: Apple Inc.
java.version: 1.6.0_26
os.name: Mac OS X
memory: 17.4/85.0
processors available: 4
useCommandThread: true
appletId:jmolApplet0__7112454283051193__ (signed)
defaults = "Jmol"
backgroundColor = "#222222"
language=fr
Jmol applet jmolApplet0__7112454283051193__ ready
dotDensity = 20
showHiddenSelectionHalos = true

FileManager.getAtomSetCollectionFromFile(mol/chons.pdb)
FileManager opening http://localhost/~paul0/portable_libmol/mol/chons.pdb
The Resolver thinks Pdb
#jmolScript:  connect none; 
#jmolScript:  moveto 1.0 { 404 -534 742 47.9} 100.0 0.0 0.0 {-4.4 0.0 0.0} 6.0 
{0.0 0.0 0.0} 27.940323 -18.50119 0.0;
#jmolScript:  select _C; set labeloffset 15 15; set labelpointer on; label 
Selectionner un fichier
#jmolScript:  select _H; set labeloffset -15 -15; set labelpointer on; label 
Visualiser le modele en 3D
#jmolScript:  select _O; set labeloffset 15 15; set labelpointer on; label 
Modifier l'affichage|ou la coloration
#jmolScript:  select _N; set labeloffset -15 -15; set labelpointer on; set 
labelalignment right; label Obtenir des informations|sur le modele
#jmolScript:  select _S; set labeloffset 15 15; set labelpointer on; label 
Relier la sequence |au modele
openFile(mol/chons.pdb): 169 ms
reading 5 atoms
ModelSet: haveSymmetry:false haveUnitcells:false haveFractionalCoord:false
1 model in this collection. Use getProperty "modelInfo" or getProperty 
"auxiliaryInfo" to inspect them.
Default Van der Waals type for model set to Babel
5 atoms created
Time to autoBond: 4 ms
ModelSet: autobonding; use  autobond=false  to not generate bonds automatically

Adding embedded #jmolscript:  connect none; ; moveto 1.0 { 404 -534 742 47.9} 
100.0 0.0 0.0 {-4.4 0.0 0.0} 6.0 {0.0 0.0 0.0} 27.940323 -18.50119 0.0; select 
_C; set labeloffset 15 15; set labelpointer on; label Selectionner un fichier; 
select _H; set labeloffset -15 -15; set labelpointer on; label Visualiser le 
modele en 3D; select _O; set labeloffset 15 15; set labelpointer on; label 
Modifier l'affichage|ou la coloration; select _N; set labeloffset -15 -15; set 
labelpointer on; set labelalignment right; label Obtenir des informations|sur 
le modele; select _S; set labeloffset 15 15; set labelpointer on; label Relier 
la sequence |au modele
JmolApplet script test load mol/pdb/proteine_p53_et_adn.pdb; zoom 90.0; delay 
0.1; zoomto 0.6 100 org.jmol.applet.Jmol@32eccfe7

FileManager.getAtomSetCollectionFromFile(mol/pdb/proteine_p53_et_adn.pdb)
FileManager opening 
http://localhost/~paul0/portable_libmol/mol/pdb/proteine_p53_et_adn.pdb
The Resolver thinks Pdb
Setting space group name to C 2
openFile(mol/pdb/proteine_p53_et_adn.pdb): 274 ms
reading 5831 atoms
ModelSet: haveSymmetry:false haveUnitcells:true haveFractionalCoord:false
1 model in this collection. Use getProperty "modelInfo" or getProperty 
"auxiliaryInfo" to inspect them.
Default Van der Waals type for model set to Jmol
5831 atoms created
Time to autoBond: 144 ms
ModelSet: autobonding; use  autobond=false  to not generate bonds automatically
COMPLEX (DNA-BINDING PROTEIN/DNA)       28-JUL-95   1TSR      1TSR   2
P53 CORE DOMAIN IN COMPLEX WITH DNA                           1TSR   3

JmolApplet script test halos on org.jmol.applet.Jmol@32eccfe7
JmolApplet script test define preselected selected; if ({selected or 
:C}.size>{* and selected}.size ) select selected or :C; else select selected 
and not :C; endif; define sel selected; select preselected and not sel; halos 
off; select sel; halos on; org.jmol.applet.Jmol@32eccfe7
JmolApplet script test define preselected selected; if ({selected or 
:B}.size>{* and selected}.size ) select selected or :B; else select selected 
and not :B; endif; define sel selected; select preselected and not sel; halos 
off; select sel; halos on; org.jmol.applet.Jmol@32eccfe7
JmolApplet script test halos off org.jmol.applet.Jmol@32eccfe7
JmolApplet script test spacefill only org.jmol.applet.Jmol@32eccfe7
Exception in thread "QueueThread1" java.lang.NullPointerException
        at org.jmol.shapespecial.Dots.setSize(Unknown Source)
        at org.jmol.shape.AtomShape.setSize(Unknown Source)
        at org.jmol.shape.Shape.setShapeSize(Unknown Source)
        at org.jmol.viewer.ShapeManager.setShapeSize(Unknown Source)
        at org.jmol.script.ScriptEvaluator.setShapeSize(Unknown Source)
        at org.jmol.script.ScriptEvaluator.restrictSelected(Unknown Source)
        at org.jmol.script.ScriptEvaluator.setAtomShapeSize(Unknown Source)
        at org.jmol.script.ScriptEvaluator.processShapeCommand(Unknown Source)
        at org.jmol.script.ScriptEvaluator.instructionDispatchLoop(Unknown 
Source)
        at org.jmol.script.ScriptEvaluator.evaluateCompiledScript(Unknown 
Source)
        at org.jmol.viewer.Viewer.evalStringWaitStatus(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runScript(Unknown 
Source)
        at 
org.jmol.viewer.ScriptManager$ScriptQueueRunnable.runNextScript(Unknown Source)
        at org.jmol.viewer.ScriptManager$ScriptQueueRunnable.run(Unknown Source)
        at java.lang.Thread.run(Thread.java:680)

Any idea ?
-Paul

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to