exception error on new install

ChemAxon e274e1bada

04-12-2008 00:11:58

One of our users wrote:





We just completed a new/clean install here and I'm getting an exception error on some of the precoded examples (/marvin/examples/applets/sketch/inlineinput.html is one of them):





java.io.IOException


at chemaxon.marvin.uif.builder.DefaultModuleConfiguration.loadShortcutConfiguration(Unknown Source)


at chemaxon.marvin.uif.module.GUIModule.loadShortcutConfiguration(Unknown Source)


at chemaxon.marvin.sketch.swing.SketchGUIModule.loadShortcutConfiguration(Unknown Source)


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


at chemaxon.marvin.sketch.swing.SketchGUIModule.c(Unknown Source)


at chemaxon.marvin.sketch.swing.SketchPanel.B(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: chemaxon.marvin.uif.builder.util.ParserException: org.xml.sax.SAXParseException: Premature end of file.


at chemaxon.marvin.uif.builder.util.DOMUtils.parse(Unknown Source)


at chemaxon.marvin.uif.builder.util.DOMUtils.parse(Unknown Source)


at chemaxon.marvin.uif.builder.DefaultModuleConfiguration.a(Unknown Source)


... 20 more


Caused by: org.xml.sax.SAXParseException: Premature end of file.


at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)


at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)


... 23 more





Any ideas what's going on.


Michiel

ChemAxon 909aee4527

05-12-2008 08:00:05

Hello Michiel,





there must be a corrupted shortcut.xml file of a previously installed version on your computer.


Please try to remove all USER_HOME/chemaxon/VERSION_NUMBER directories.


Please be aware that in case you use a custom GUI configuration, you should only remove the shortcut.xml files of these directories instead of the whole directories.





Kind regards,


Judit