User 6bec43dc6c
23-09-2008 09:49:38
Hi,
I'm using MarvinSketch in my web interface and one of my users reported a bug with Firefox 1.5 which I had not noted before. I preset the molfile in the applet parameter with an empty molfile or load one up from a previous query. I get the following stack trace exception. I've tested this with the current version 5.1.1 and an older version of Marvin Sketch 5.0.3. The strang thing is that this does not happen in Firefox 2 or 3 so it seems specific to firefox 1.5. My Java on my browser is JRE version 1.6_07.
You can see the url where I'm using it as its publicly facing:
http://www.ebi.ac.uk/chebi/advancedSearchForward.do
Here is my applet code:
<applet id="editor" name="MSketch" width="400" height="350" code="JMSketch.class" codebase="applets/marvinSketch" archive="jmarvin.jar">
<param name="autoscale" value="true"/>
<param name="mol" value="\
Marvin 04270821502D \
\
0 0 0 0 0 0 999 V2000\
M END\
" />
</applet>
Here is the exception:
chemaxon.formats.MolFormatException: Molecule cannot be imported
at chemaxon.marvin.io.MRecordImporter.readDoc(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.setMol(Unknown Source)
at JMSketch.b(Unknown Source)
at JMSketch.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks,
Paula
I'm using MarvinSketch in my web interface and one of my users reported a bug with Firefox 1.5 which I had not noted before. I preset the molfile in the applet parameter with an empty molfile or load one up from a previous query. I get the following stack trace exception. I've tested this with the current version 5.1.1 and an older version of Marvin Sketch 5.0.3. The strang thing is that this does not happen in Firefox 2 or 3 so it seems specific to firefox 1.5. My Java on my browser is JRE version 1.6_07.
You can see the url where I'm using it as its publicly facing:
http://www.ebi.ac.uk/chebi/advancedSearchForward.do
Here is my applet code:
<applet id="editor" name="MSketch" width="400" height="350" code="JMSketch.class" codebase="applets/marvinSketch" archive="jmarvin.jar">
<param name="autoscale" value="true"/>
<param name="mol" value="\
Marvin 04270821502D \
\
0 0 0 0 0 0 999 V2000\
M END\
" />
</applet>
Here is the exception:
chemaxon.formats.MolFormatException: Molecule cannot be imported
at chemaxon.marvin.io.MRecordImporter.readDoc(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.setMol(Unknown Source)
at JMSketch.b(Unknown Source)
at JMSketch.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Thanks,
Paula