User c30a4b265a
11-03-2010 23:26:19
Hi - I installed (just downloaded the jar-file) for the newest Marvin distribution. The sketch example, SketchSimple.java fails. I am just running the example with it's RUN.BAT launcher. The error message is like I get with my own app now, which is why I care.
A capture of the stack trace from the resulting DOS window is below, the exception is thrown at startup for the little example app:
chemaxon.formats.MolFormatException: Cannot create record reader for ChemAxon Ma
rvin Documents / MRV
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)
at chemaxon.marvin.sketch.templates.TemplateSetLocation.readMoleculeStre
am(Unknown Source)
at chemaxon.marvin.sketch.templates.TemplateSetLocation.importTemplates(
Unknown Source)
at chemaxon.marvin.sketch.templates.TemplateSet.getTemplates(Unknown Sou
rce)
at chemaxon.marvin.sketch.swing.templates.TemplateHandler$TemplateImport
er.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.NullPointerException
at chemaxon.marvin.io.formats.XmlImport.initImport(Unknown Source)
at chemaxon.marvin.io.formats.cml.CMLRecordReader.<init>(Unknown Source)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
... 9 more
The version.properties from the distribution is:
# Version info of Marvin Beans
MARVIN_VERSION=5.3.1
MARVIN_VERSION.major=5
MARVIN_VERSION.minor=3
MARVIN_VERSION.revision=01
MARVIN_VERSION.postfix=