Fabian,
Hope you had a Happy Holidays!
I just got back from vacation and have been out-of-touch for 10 days.
I am getting a run-time error with the current cvs tip:
- NullPointerException in CrystalPropertiesDialog
- happens when a molecule is first loaded
- happens with every file I load
- seems to be related to the EnergyBand changes you checked in on Dec 27.
I did a completely fresh cvs checkout into a new directory to confirm the
problem.
By commenting-out the following code I was able to eliminate the run-time
error:
/*
//Check if we have an "EnergyBand" property
//TODO
hasEnergyBand=false;
Vector frameProperties
= crystalFile.getFrame(currentFrameIndex).getFrameProperties();
for (int i=0; i< frameProperties.size();i++) {
if(((PhysicalProperty)frameProperties.elementAt(i)).getDescriptor()
.equals("EnergyBand")) {
energyBand =
(EnergyBand)frameProperties.elementAt(i);
hasEnergyBand=true;
}
}
*/
At this point I have *not* checked-in this (or any other) modifications.
If you receive this email today and can fix it that would be good.
Otherwise, I may comment-out the code and check it in (as shown above).
�Adi�s!
Miguel
-------------------------------
java.lang.NullPointerException
at
org.openscience.jmol.CrystalPropertiesDialog.updateCurrentFrameIndex(CrystalPropertiesDialog.java:1918)
at
org.openscience.jmol.CrystalPropertiesDialog.setChemFile(CrystalPropertiesDialog.java:2017)
at
org.openscience.jmol.CrystalPropertiesDialog.propertyChange(CrystalPropertiesDialog.java:2163)
at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:252)
at org.openscience.jmol.JmolModel.setChemFile(JmolModel.java:75)
--------------------------------------------------
Miguel Howard [EMAIL PROTECTED]
c/Pe�a Primera 11-13 esc dcha 6B
37002 Salamanca
Espa�a Spain
--------------------------------------------------
telefono casa 923 27 10 82 movil 650 52 54 58
--------------------------------------------------
To call from the US dial 9:00 am Pacific US =
home 011 34 923 27 10 82 12:00 noon Eastern US =
cell 011 34 650 52 54 58 6:00 pm Spain
--------------------------------------------------
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jmol-developers mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-developers