User eda6f877b4
18-01-2010 14:27:18
Hi Again
I am getting the following error message when displaying the marvin applets:
java.lang.NoClassDefFoundError: chemaxon/struc/PeriodicSystem
at chemaxon.marvin.sketch.swing.actions.template.AtomActionFactory.createActions(Unknown Source)
at chemaxon.marvin.uif.builder.impl.action.ActionSet.a(Unknown Source)
at chemaxon.marvin.uif.builder.impl.action.ActionSet.a(Unknown Source)
at chemaxon.marvin.uif.builder.impl.action.ActionSet.installActions(Unknown Source)
at chemaxon.marvin.uif.builder.DefaultModuleConfiguration.createLocalActions(Unknown Source)
at chemaxon.marvin.uif.module.GUIModule.b(Unknown Source)
at chemaxon.marvin.uif.module.GUIModule.bindComponent(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.molInit(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
at JMSketch.a(Unknown Source)
at JMSketch.a(Unknown Source)
at JMSketch$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: chemaxon.struc.PeriodicSystem
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)
... 21 more
Caused by: java.io.IOException: open HTTP connection failed:http://localhost:63015/ChemicalInventory/Tools/marvin/chemaxon/struc/PeriodicSystem.class
at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 25 more
I have copied the files from the Applet folder found in the jchem.net API folder (Version 5.4.2). Can you give an idea what is neede for this to work. The error orcurs both in local test and on remote server...
Regards
Dann
ChemAxon 6e93227fcc
19-01-2010 15:35:09
Hi,
Can you confirm you still have these settings?
1: Applet package version: 5.2.1_1 (from the applet in the browser)
2: I believe IIS server is 6.0 but will investigate...
3: Browser is both IE 8 and firefox: 3.5.6, the jre that is running is: Java 1.6.0_15.
You might also try our latest 5.3 applet package from http://www.chemaxon.com/marvin/download-webdev.html. My colleagues worked pretty hard on fixing multiple problems.
Calin.
User eda6f877b4
20-01-2010 07:46:21
Hi,
I will try the 5.3 applet, and get back..
Dann
User eda6f877b4
20-01-2010 08:05:30
Hi,
I have updated to the marvin 5.3 applets, and this helped....
BUT! :-(
Still errors, I am continuing to get back to the same http connection error in the applet. I get one for the viewer and one when loading a structure into the sketcher...
Viewer error stack trace:
Java Plug-in 1.6.0_15
Using JRE version 1.6.0_15-b03 Java HotSpot(TM) Client VM
Exception in thread "Thread-39" java.lang.NoClassDefFoundError: chemaxon/marvin/common/swing/PagesActions$Listener
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$400(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(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 chemaxon.marvin.applet.AppletLaunch.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: chemaxon.marvin.common.swing.PagesActions$Listener
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)
... 20 more
Caused by: java.io.IOException: open HTTP connection failed:http://demo.chemicalinventory.org/Tools/marvin/chemaxon/marvin/common/swing/PagesActions$Listener.class
/> at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 24 more
Problem while loading applet.
java.lang.NullPointerException
at java.awt.Container.addImpl(Unknown Source)
at java.awt.Container.add(Unknown Source)
at chemaxon.marvin.applet.JMViewLaunch.start(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.NullPointerException
Error for the sketcher:
java.io.IOException: Cannot import file in format smiles
at chemaxon.marvin.util.JavaLangUtil.newIOException(Unknown Source)
at chemaxon.marvin.util.MolLoader.a(Unknown Source)
at chemaxon.marvin.util.MolLoader.a(Unknown Source)
at chemaxon.marvin.util.MolLoader.run(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.startLoader(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.molStart(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
at chemaxon.marvin.common.swing.MolPanel.init(Unknown Source)
at chemaxon.marvin.applet.JMSketch.createGUI(Unknown Source)
at chemaxon.marvin.applet.AbstractMarvinApplet.init(Unknown Source)
at chemaxon.marvin.applet.JMSketchLaunch.showApplet(Unknown Source)
at chemaxon.marvin.applet.AppletLaunch$2.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoClassDefFoundError: chemaxon/marvin/io/formats/SingleLineRecordReader
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.defineClassHelper(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.access$400(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(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 chemaxon.formats.MFileFormat.createRecordReader(Unknown Source)
at chemaxon.formats.MFileFormatUtil.createRecordReader(Unknown Source)
at chemaxon.formats.MFileFormatUtil.createRecordReader(Unknown Source)
at chemaxon.marvin.io.MRecordImporter.<init>(Unknown Source)
... 19 more
Caused by: java.lang.ClassNotFoundException: chemaxon.marvin.io.formats.SingleLineRecordReader
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)
... 41 more
Caused by: java.io.IOException: open HTTP connection failed:http://demo.chemicalinventory.org/Tools/marvin/chemaxon/marvin/io/formats/SingleLineRecordReader.class
/> at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
... 45 more
Am I doing something horribly wrong..??
If it would help, the application is available online, and I can send you login information...?
Dann
ChemAxon 6e93227fcc
20-01-2010 09:04:23
Hi,
You could send the login info through email. My email is cnaghi at chemaxon dot com.
Calin.