Yep, it fails after initializing attributes... Here's what I get: JmolConsole is initializing AppletConsole is initializing AppletConsole is initializing...input AppletConsole is initializing...output AppletConsole is initializing...document AppletConsole is initializing...attributes Interface.java Error creating instance for org.jmol.applet.AppletConsole: null
So does this mean report a java error or a WebKit error to Apple? Jonathan On May 8, 2010, at 8:10 PM, Robert Hanson wrote: > Jonathan, can you try building my latest upload? There are two errors here: > The first, that just says "null" is just a report. The second is an actual > kill-the-applet exception. I've put code in to prevent that second piece, at > least. Here's the message I get in the console: > > JmolConsole is initializing > AppletConsole is initializing > AppletConsole is initializing...input > AppletConsole is initializing...output > AppletConsole is initializing...document > AppletConsole is initializing...attributes > AppletConsole is initializing...display > Console > org.jmol.applet.AppletConsole[dialog0,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true] > set() > Console > org.jmol.applet.AppletConsole[dialog0,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true] > set(2) > Console > org.jmol.applet.AppletConsole[dialog0,0,0,0x0,invalid,hidden,layout=java.awt.BorderLayout,MODELESS,defaultCloseOperation=HIDE_ON_CLOSE,rootPane=javax.swing.JRootPane[,0,0,0x0,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=16777673,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true] > set(3) > AppletConsole is initializing...viewer > > > I'm betting you get some of that but not all. > > Bob > > > On Thu, May 6, 2010 at 9:27 PM, Jonathan Gutow <gu...@uwosh.edu> wrote: > Yes, the error message comes from testing on your site. But I see the same > problem and error message when testing on my local machine using > JmolApplet.jar. > > Here's the error message using JmolApplet.jar locally. > > Interface.java Error creating instance for org.jmol.applet.AppletConsole: > null > Exception in thread "QueueThread0" java.lang.NullPointerException > at org.jmol.viewer.Viewer.getProperty(Unknown Source) > at org.jmol.viewer.Viewer.showConsole(Unknown Source) > at org.jmol.script.ScriptEvaluator.console(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:637) > > On May 6, 2010, at 9:16 PM, Robert Hanson wrote: > >> The error message indicates you were using JmolApplet0.jar. >> >> On Thu, May 6, 2010 at 12:37 PM, Jonathan Gutow <gu...@uwosh.edu> wrote: >> I saw the problem initially when I was testing locally. I'm pretty >> sure I was using JmolApplet.jar at that point, but will check again >> tonight. >> >> Jonathan >> On May 6, 2010, at 11:20 AM, Robert Hanson wrote: >> >> > much simpler problem! So my first thought is that there is something >> > missing in the Jar collection. What we know is that Safari is not >> > finding the AppletConsole class. It is in the JmolApplet0.jar, not >> > JmolApplet0_Console.jar. But there is an interesting issue here. The >> > Jmol applet console, though in the applet jar, subclasses >> > JmolConsole, which IS in JmolApplet0_Console.jar. I wonder if Java >> > on that machine is having trouble opening the class because it needs >> > TWO jar files in the same operation. That could be.... >> > >> > >> > Does the problem go away if you use JmolApplet.jar instead of >> > JmolApplet0.jar? >> > >> > >> > Bob >> > >> > >> > >> > >> > http://chemapps.stolaf.edu/jmol/docs/examples-11/JmolApplet0_Console.jar >> > | /Users/jonathan/Library/Caches/Java/cache/ >> > 6.0/54/78a404b6-63c3cf64.idx >> > Interface.java Error creating instance for >> > org.jmol.applet.AppletConsole: >> > null >> > Exception in thread "QueueThread0" java.lang.NullPointerException >> > at org.jmol.viewer.Viewer.getProperty(Unknown Source) >> > at org.jmol.viewer.Viewer.showConsole(Unknown Source) >> > at org.jmol.script.ScriptEvaluator.console(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:637) >> > >> > ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Jmol-developers mailing list >> > Jmol-developers@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/jmol-developers >> > >> > >> > >> > -- >> > Robert M. Hanson >> > Professor of Chemistry >> > St. Olaf College >> > 1520 St. Olaf Ave. >> > Northfield, MN 55057 >> > http://www.stolaf.edu/people/hansonr >> > phone: 507-786-3107 >> > >> > >> > If nature does not answer first what we want, >> > it is better to take what answer we get. >> > >> > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 >> > ------------------------------------------------------------------------------ >> > _______________________________________________ >> > Jmol-developers mailing list >> > Jmol-developers@lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/jmol-developers >> >> Dr. Jonathan H. Gutow >> Chemistry Department gu...@uwosh.edu >> UW-Oshkosh Office:920-424-1326 >> 800 Algoma Boulevard FAX:920-424-2042 >> Oshkosh, WI 54901 >> http://www.uwosh.edu/facstaff/gutow >> >> >> >> >> >> >> ------------------------------------------------------------------------------ >> _______________________________________________ >> Jmol-developers mailing list >> Jmol-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-developers >> >> >> >> -- >> Robert M. Hanson >> Professor of Chemistry >> St. Olaf College >> 1520 St. Olaf Ave. >> Northfield, MN 55057 >> http://www.stolaf.edu/people/hansonr >> phone: 507-786-3107 >> >> >> If nature does not answer first what we want, >> it is better to take what answer we get. >> >> -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 >> ------------------------------------------------------------------------------ >> >> _______________________________________________ >> Jmol-developers mailing list >> Jmol-developers@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers > > > > > -- > Robert M. Hanson > Professor of Chemistry > St. Olaf College > 1520 St. Olaf Ave. > Northfield, MN 55057 > http://www.stolaf.edu/people/hansonr > phone: 507-786-3107 > > > If nature does not answer first what we want, > it is better to take what answer we get. > > -- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900 > ------------------------------------------------------------------------------ > > _______________________________________________ > Jmol-developers mailing list > Jmol-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jmol-developers
------------------------------------------------------------------------------
_______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers