conflict between Marvins 5.0 and 4.1

User 870ab5b546

13-01-2008 18:25:33

On my computer at home running MacOS 10.4.11, when I go to any page in DEV-1.7 that is supposed to show Marvin, I get no toolbars, drawing windows, etc. I just get a square of brushed steel.





One of our ACE sites has one page that loads Marvin 5.0, although all other pages load Marvin 4.1. On this site, when I go a page with Marvin 4.1, it never loads; all I get is a square of brushed steel. I can load Marvin 5.0 just fine.





I can load Marvin 4.1 just fine when I go to other ACE sites that do not also have Marvin 5.0.





This happens in both Safari 2.0.4 and Netscape 7.2. Everything worked just fine on my work computer on Friday, which runs MacOS 10.3.9.





I fixed the problem by clearing my Java cache, but it wouldbenice to beable to go back and forth between the two versions.





I get this in my Java Console log:





Code:
java.io.FileNotFoundException: http://epoch.chem.uky.edu:9183/nosession/marvin/sjars/aloe.jar


    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1168);


    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(HttpUtils.java:43)


    at sun.plugin.cache.CachedJarLoader.isUpToDate(CachedJarLoader.java:359)


    at sun.plugin.cache.CachedJarLoader.loadFromCache(CachedJarLoader.java:226)


    at sun.plugin.cache.CachedJarLoader.load(CachedJarLoader.java:156)


    at sun.plugin.cache.JarCache.get(JarCache.java:186)


    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:94)


    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:78)


    at sun.misc.URLClassPath$JarLoader.getJarFile(URLClassPath.java:583)


    at sun.misc.URLClassPath$JarLoader.<init>(URLClassPath.java:546)


    at sun.misc.URLClassPath$JarLoader$2.run(URLClassPath.java:726)


    at java.security.AccessController.doPrivileged(Native Method)


    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:722)


    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:682)


    at sun.misc.URLClassPath.getResource(URLClassPath.java:161)


    at java.net.URLClassLoader$1.run(URLClassLoader.java:192)


    at java.security.AccessController.doPrivileged(Native Method)


    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)


    at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:147)


    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)


    at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:119)


    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)


    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)


    at JMSketch.a(Unknown Source)


    at JMSketch.a(Unknown Source)


    at JMSketch$1.run(Unknown Source)


    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)


    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)


    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)


    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)


    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)


    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)


    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)


JMSketch initalization has failed in Awt-EventQueue thread:


java.lang.reflect.InvocationTargetException


    at java.awt.EventQueue.invokeAndWait(EventQueue.java:853)


    at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1257)


    at JMSketch.init(Unknown Source)


    at sun.applet.AppletPanel.run(AppletPanel.java:380)


    at java.lang.Thread.run(Thread.java:613)


Caused by: java.lang.NoClassDefFoundError: cb/aloe/swing/tools/DockPane


    at JMSketch.a(Unknown Source)


    at JMSketch.a(Unknown Source)


    at JMSketch$1.run(Unknown Source)


    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)


    at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)


    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)


    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)


    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)


    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)


    at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)






aloe.jar appears in the Marvin 5 directory, but not in Marvin 4. Marvin 5.0 and Marvin 4.1 sit in adjacent directories; I have no idea why Marvin 4.1 is looking for aloe.jar.





Also, when I have the Java console open, when Marvin 5.0 launches, I get this error in the concole:





Code:
Exception in thread "AWT-EventQueue-3" java.lang.NullPointerException


   at chemaxon.marvin.sketch.MolEditor.loadSM(Unknown Source)


   at chemaxon.marvin.sketch.MolEditor.createSM(Unknown Source)


   at chemaxon.marvin.sketch.swing.TemplateButton.<init>(Unknown Source)


   at chemaxon.marvin.sketch.swing.TemplateSetHandler.createTemplateButton(Unknown Source)


   at chemaxon.marvin.sketch.swing.TemplateToolBarHandler.a(Unknown Source)


   at chemaxon.marvin.sketch.swing.TemplateToolBarHandler.createTemplateButtons(Unknown Source)


   at chemaxon.marvin.sketch.swing.TemplateToolBarHandler.a(Unknown Source)


   at chemaxon.marvin.sketch.swing.TemplateHandler.templateLoadingFinished(Unknown Source)


   at chemaxon.marvin.sketch.swing.SketchPanel.molLoaderFinished(Unknown Source)


   at chemaxon.marvin.util.MolLoader.run(Unknown Source)


   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)


   at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)


   at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)


   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)


   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)


   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)


   at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)






The applet starts anyway, but I thought you'd want to know.

ChemAxon 7c2d26e5cf

15-01-2008 13:38:03

Hi Bob,


I played with the applets on the ChemAxon site: I have tried to load different versions of applet (4.1.14 vs. 5.0) in the same browser window (Safari 2.0.4 under the latest version of OS X 10.4).


I have not found any problem. All applets started fine.


In the "marvin-archive", you can find different versions of applets.


http://www.chemaxon.com/marvin-archive


Please browse between versions. If applets from the mentioned URL work fine for you, the problem can be on the ACE site.