Safari works correctly when I use jmolApplet(480,"load /testmol.pdb"); but
if I read the pdb contents into a string (properly constructed, it works
in FireFox) and use:

jmolApplet(480);
jmolLoadInline("$pdb");

the I get a crash in Safari:

AppletRegistry.checkIn(jmolApplet0)

2005-01-06 10:48:44.747 Safari[3380] Apple Applet Plugin: JNI exception
(-[JavaWebKitView pluginResize], 489)

Exception in thread "AWT-AppKit" java.lang.NullPointerException
        at org.jmol.applet.JmolApplet.loadInline(JmolApplet.java:454)
Jan  6 10:48:44 xrayG4 /Applications/Safari.app/Contents/MacOS/Safari: An
error report file has been saved as
/Users/ball/Library/Logs/JavaNativeCrash_pid3380.log.  Please refer to the
file for further information.

I wanted to use the LoadInline function to avoid starting up yet another
perl process to read the coordinate file (the whole jmol page is already
being created using a cgi perl script so that access can be controlled).

Rich




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to