Hi Paul, On Fri, Aug 13, 2010 at 3:01 PM, Paul A Craig <[email protected]> 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.<init>(Unknown Source) > at org.openscience.jmol.app.Jmol.<init>(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 [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

