User ca88ceb4cc
22-02-2010 19:22:19
Hi,
I'm facing with a error using your applet which renders it unusable (see attached picture) on FF3.5, IE8, Opera10, Chrome4 running on Windows7 x64.
I'm using the latest Marvin and Java VM ( JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM) avaliable.
My code is just a basic html4.0 applet tag (because of ajax integration):
<applet align='center' height='400' width='400' id='marvinApplet' mayscript codebase='/marvin' archive='appletlaunch.jar' code='chemaxon.marvin.applet.JMSketchLaunch'></applet>
Any clues?
Thanks:
Balint
The error message is: (i guess it is missing a formed URI leading part)
#0
java.net.MalformedURLException: no protocol: /chemaxon/marvin/templates/homologyGroups.mrv
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at java.net.URL.<init>(Unknown Source)
at chemaxon.marvin.sketch.templates.TemplateSetLocation.importTemplates(Unknown Source)
at chemaxon.marvin.sketch.templates.TemplateSet.getTemplates(Unknown Source)
at chemaxon.marvin.sketch.templates.TemplateSet.getTemplates(Unknown Source)
at chemaxon.marvin.sketch.swing.templates.TemplateHandler.getMoleculesWithAbbreviations(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchPanel.r(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(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.pumpEventsForFilter(Unknown Source)
at java.awt.Dialog$1.run(Unknown Source)
at java.awt.Dialog$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Dialog.show(Unknown Source)
at javax.swing.JOptionPane.showOptionDialog(Unknown Source)
at chemaxon.marvin.common.swing.modules.ExceptionFrame.b(Unknown Source)
at chemaxon.marvin.common.swing.modules.ExceptionFrame.a(Unknown Source)
at chemaxon.marvin.common.swing.modules.ExceptionFrame.a(Unknown Source)
at chemaxon.marvin.common.swing.modules.ExceptionFrame$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)
java.lang.NullPointerException
at java.util.zip.InflaterInputStream.<init>(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at java.util.zip.GZIPInputStream.<init>(Unknown Source)
at chemaxon.struc.PeriodicSystem$IsotopeDataHolder.a(Unknown Source)
at chemaxon.struc.PeriodicSystem$IsotopeDataHolder.<clinit>(Unknown Source)
at chemaxon.struc.PeriodicSystem.a(Unknown Source)
at chemaxon.struc.MolAtom.isotopeType(Unknown Source)
at chemaxon.marvin.modules.GraphInvariants.<clinit>(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at chemaxon.marvin.util.MarvinModule.loadClass(Unknown Source)
at chemaxon.marvin.util.MarvinModule.load(Unknown Source)
at chemaxon.marvin.util.MarvinModule.load(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchModuleLoaderTask.run(Unknown Source)
at chemaxon.marvin.uif.resource.BackgroundLoader.run(Unknown Source)
2010.02.22. 20:17:25 chemaxon.marvin.uif.resource.BackgroundLoader run
WARNING: Failed to run task: SketchModuleLoaderTask[GraphInvariants]
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at chemaxon.marvin.util.MarvinModule.loadClass(Unknown Source)
at chemaxon.marvin.util.MarvinModule.load(Unknown Source)
at chemaxon.marvin.util.MarvinModule.load(Unknown Source)
at chemaxon.marvin.sketch.swing.SketchModuleLoaderTask.run(Unknown Source)
at chemaxon.marvin.uif.resource.BackgroundLoader.run(Unknown Source)
Caused by: java.lang.NullPointerException
at chemaxon.struc.PeriodicSystem.a(Unknown Source)
at chemaxon.struc.MolAtom.isotopeType(Unknown Source)
at chemaxon.marvin.modules.GraphInvariants.<clinit>(Unknown Source)
... 7 more