all OK for me. Except I'm having that same problem I've had before with
Eclipse not properly indicating which options I've selected for the ant
build. I was able nonetheless to get both applets made as well as the
application, and everything works as advertised. Each language jar file is
read off the server only as needed.

However, if a file is missing, then the server is going to send a "no file
found" message that is going to cause a Jmol crash.

Exception in thread "QueueThread1" java.lang.ClassFormatError: Incompatible
magic value 1919250805 in class file
org/jmol/translation/JmolApplet/tr/Messages_tr
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at org.jmol.i18n.GT.addBundle(Unknown Source)
    at org.jmol.i18n.GT.addBundles(Unknown Source)
    at org.jmol.i18n.GT.getTranslation(Unknown Source)
    at org.jmol.i18n.GT.<init>(Unknown Source)
    at org.jmol.applet.Jmol$MyStatusListener.setCallbackFunction(Unknown
Source)
    at org.jmol.viewer.StatusManager.setCallbackFunction(Unknown Source)
    at org.jmol.viewer.Viewer.setStringProperty(Unknown Source)
    at org.jmol.viewer.Eval.setStringProperty(Unknown Source)
    at org.jmol.viewer.Eval.set(Unknown Source)
    at org.jmol.viewer.Eval.instructionDispatchLoop(Unknown Source)
    at org.jmol.viewer.Eval.runEval(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(Unknown Source)

(Might want to go back to debug=true for Jmol 11.7)

That's a real problem, because that code is:

    try {
      bundleClass = Class.forName(name_lang);
    } catch (Exception e) {
      Logger.error("GT could not find the class " + name_lang);
    }


so why is this error not just being trapped? Is there something about
Class.forName() that doesn't allow proper exception handling? Can we use
ClassLoader directly to try to check for a class?

Could be a problem if the jar files aren't on the server. You'll only know
that if someone tries setting a language.

Bob



On Thu, Oct 9, 2008 at 3:28 PM, Angel Herráez <[EMAIL PROTECTED]> wrote:

> I've done  a local build from revision 10030
> and the unsigned applet seems to work OK; opens in Spanish, changes
> languages from the
> popup menu withou a hitch (I'd even say that quicker than before). I tried
> English, French,
> Portuguese, back to Spanish.
>
> However, the app gets hung at the "Initializing recent files..." step in
> the preload. I don't trust
> my builds though, so please do not pay much attention to this.
>
>
> On 9 Oct 2008 at 21:37, Nicolas Vervelle wrote:
>
> >
> > Modifications done, it really needs some testing (I haven't tested the
> applet)
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> 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
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to