Re: [Jmol-users] Problems launching Jmol 12.0.6 in Linux and Mac OS X
Hi Paul, On Fri, Aug 13, 2010 at 3:01 PM, Paul A Craig wrote: > I am trying to run Jmol on my LInux 9.10 computer and keep getting this error > message. I am new to Linux and am not a java programmer. I see the same > problem on my Mac. I am running Ubuntu 10.04 with Java 1.6.0_18 and can boot Jmol 12.0.6 fine... > java.lang.NullPointerException > at java.awt.Component.setLocation(Component.java:1904) > at org.openscience.jmol.app.jmolpanel.JmolPanel.(Unknown Source) > at org.openscience.jmol.app.Jmol.(Unknown Source) > at org.openscience.jmol.app.jmolpanel.JmolPanel.getJmol(Unknown Source) > at org.openscience.jmol.app.jmolpanel.JmolPanel.startJmol(Unknown > Source) > at org.openscience.jmol.app.Jmol.main(Unknown Source) > Exception in thread "main" java.lang.NullPointerException > at org.openscience.jmol.app.jmolpanel.JmolPanel.startJmol(Unknown > Source) > at org.openscience.jmol.app.Jmol.main(Unknown Source) The stacktrace seems to originate from line 270 in JmolPanel.java, but I am not sure why the JFrame jmolFrame = new JFrame(); at line 262 would not have worked... You seem to be running with a Sun/Oracle JVM too, so that should be fine too... In the same folder, can you please try: java -jar Jmol.jar ? Egon -- Dr E.L. Willighagen Post-doc @ Uppsala University (only until 2010-09-30) Proteochemometrics / Bioclipse Group of Prof. Jarl Wikberg Homepage: http://egonw.github.com/ Blog: http://chem-bla-ics.blogspot.com/ PubList: http://www.citeulike.org/user/egonw/tag/papers -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] error with jmolColorPickerBox
Piero, I think your problem may have originated in some mismatch that existed between instructions and the actual functions in JmolColorPicker.js. > var colorScript = [setAtomColor, 'atomColor']; I'm not sure why you have that. it should be a string with a Jmol script, not an array. > jmolColorPickerBox(colorScript, '[100,100,100]'); Here you need to remove the quotes. The 2nd parameter must be a javascript array: jmolColorPickerBox(colorScript, [100,100,100]); (this is the piece that was wrong in the doc) If that fails, get the updated version from http://jmol.svn.sourceforge.net/viewvc/jmol/trunk/Jmol/src/org/openscience/jmol/app/webexp ort/html/JmolColorPicker.js -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users
Re: [Jmol-users] JMOL stuck on "Starting display..." at startup
> Thanks for the fast reply! The same problem occurs whether I start JMOL via > the batch file and/or JAR file. I am using the latest version downloaded > today from SourceForge.net. Tom, pleas quote version number. 12.0.x or 12.1.x ? There are two "latest" lines of releases. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users