It's almost certainly a Java bug, but I can't imagine why.... can't create
the instance... hmm.


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

Reply via email to