User 870ab5b546
01-06-2010 18:07:14
In Marvin 5.3.3, there is a severe problem involving toolbars in the detached sketcher window. We use the configuration file below for mechanism questions, and we automatically detach the window when the user solves mechanism questions. The problem is, if the user has not already used the electron-flow and graphical buttons in the undetached sketcher, then pressing on them has absolutely no effect.
If I empty my Java cache, then load a page that does not automatically detach the window, and then I press the arrow and rectangle buttons, then each time I press it, I can see a window appearing that says, "module loading". It seems that the module does not load if the sketcher window is detached.
Please fix!
<?xml version="1.0" encoding="UTF-8"?>
<customization active="classic">
<scheme id="classic" largeIcons="true">
<remove path="toolbar/chemical"/>
<remove path="toolbar/config3_1"/>
<remove path="toolbar/config3_2"/>
<remove path="toolbar/config3_3"/>
<remove path="toolbar/config3_4"/>
<toolbar id="CustomToolbar-0" anchor="north" row="1" index="0">
<item id="selectMode"/>
<item id="eraseMode"/>
<item id="cut"/>
<item id="copy"/>
<item id="paste"/>
<separator id="sep-0"/>
<item id="zoomIn"/>
<item id="zoomAll"/>
<item id="zoomOut"/>
<separator id="sep-1"/>
<item id="undo"/>
<item id="redo"/>
</toolbar>
<toolbar id="CustomToolbar-1" anchor="north" row="2" index="0">
<item id="increaseCharge"/>
<item id="decreaseCharge"/>
<item id="radicalGroup"/>
<separator id="sep-2"/>
<item id="atom.H"/>
<item id="atom.C"/>
<item id="atom.N"/>
<item id="atom.O"/>
<item id="atom.S"/>
<item id="atom.Cl"/>
<item id="atom.Br"/>
<item id="atom.I"/>
<item id="more"/>
<item id="atom.P"/>
<item id="atom.F"/>
</toolbar>
<toolbar id="CustomToolbar-2" anchor="north" row="3" index="0">
<item id="bond.single"/>
<item id="bond.singleDown"/>
<item id="bond.singleUp"/>
<item id="bond.singleEither"/>
<separator id="sep-3"/>
<item id="insertChain"/>
<separator id="sep-4"/>
<item id="insertElectronFlow2"/>
<item id="insertElectronFlow"/>
<item id="insertRectangle"/>
<item id="insertArrow"/>
<item id="insertTwoHeadedArrow"/>
</toolbar>
<modify path="toolbar/mytemplates" row="3" index="1"/>
<remove path="menubar/atom-menu/atomRgroup"/>
<remove path="menubar/atom-menu/group-menu"/>
<remove path="menubar/atom-menu/atomLinkNode"/>
<remove path="menubar/atom-menu/sep-1"/>
<remove path="menubar/atom-menu/branchAtom"/>
<remove path="menubar/structure-menu/structure-add-menu/setAbsoluteStereo"/>
<remove path="popup/atom/atomRgroup"/>
<remove path="popup/atom/atomLinkNode"/>
<remove path="popup/atom/branchAtom"/>
<remove path="popup/atom/structure-add-menu/setAbsoluteStereo"/>
<remove path="menubar/atom-menu/radical-menu/atomRadical.rad2"/>
<remove path="menubar/atom-menu/radical-menu/atomRadical.rad2triplet"/>
<remove path="menubar/atom-menu/radical-menu/atomRadical.rad3"/>
<remove path="menubar/atom-menu/radical-menu/atomRadical.rad3doublet"/>
<remove path="menubar/atom-menu/radical-menu/atomRadical.rad3quartet"/>
<remove path="popup/atom/radical-menu/atomRadical.rad2"/>
<modify path="popup/atom/radical-menu/atomRadical.rad2singlet" name="Carbenes and analogs"/>
<remove path="popup/atom/radical-menu/atomRadical.rad2triplet"/>
<remove path="popup/atom/radical-menu/atomRadical.rad3"/>
<remove path="popup/atom/radical-menu/atomRadical.rad3doublet"/>
<remove path="popup/atom/radical-menu/atomRadical.rad3quartet"/>
<remove path="menubar/insert-menu/insert-arrow-menu/reactionArrow0"/>
<remove path="menubar/insert-menu/insert-arrow-menu/reactionArrow2"/>
<remove path="menubar/insert-menu/insert-arrow-menu/arrow-sep1"/>
<remove path="menubar/insert-menu/insert-arrow-menu/reactionArrow1"/>
<remove path="menubar/insert-menu/insert-arrow-menu/reactionArrow3"/>
<remove path="menubar/insert-menu/insert-arrow-menu/arrow-sep2"/>
<remove path="menubar/edit-menu/sourcename"/>
</scheme>
</customization>
ChemAxon 5433b8e56b
11-06-2010 09:35:29
Hi Bob,
Since 5.3.3 the Module is loading dialog is introduced to give a more noticable feedback about a module is being loaded, if the loading time of the module is too long, so the user have to wait for the on demand loading of a functionality.
We have noticed problems with legacy_lifecycle, which is related to the lifecycle_cache, these problems will be fixed in 5.3.4 hotfix release which will be released soon. The fixed issues might cause the irresponsive buttons on your side as we assume. Were there any exceptions on the java console after pressing the graphical button?
Best regards,
Istvan
User 870ab5b546
13-06-2010 00:38:25
ifajth wrote: |
Hi Bob,
Were there any exceptions on the java console after pressing the graphical button?
Best regards, Istvan
|
Yes.
Exception in thread "AWT-EventQueue-3" java.lang.RuntimeException: java.lang.IllegalThreadStateException
at chemaxon.marvin.util.MarvinModule.load(Unknown Source)
at chemaxon.marvin.sketch.MolEditor.loadSM(Unknown Source)
at chemaxon.marvin.sketch.swing.actions.graphics.AbstractGraphicsAction.createSketchMode(Unknown Source)
at chemaxon.marvin.sketch.swing.actions.AbstractSketchModeAction.getSketchMode(Unknown Source)
at chemaxon.marvin.sketch.swing.actions.AbstractSketchModeAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:269)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at java.awt.Component.processMouseEvent(Component.java:5602)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3129)
at java.awt.Component.processEvent(Component.java:5367)
at java.awt.Container.processEvent(Container.java:2010)
at java.awt.Component.dispatchEventImpl(Component.java:4068)
at java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1801)
at java.awt.Component.dispatchEvent(Component.java:3903)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.IllegalThreadStateException
at java.lang.ThreadGroup.addUnstarted(ThreadGroup.java:842)
at java.lang.Thread.init(Thread.java:322)
at java.lang.Thread.<init>(Thread.java:566)
at java.util.concurrent.Executors$DefaultThreadFactory.newThread(Executors.java:545)
at java.util.concurrent.ThreadPoolExecutor.addThread(ThreadPoolExecutor.java:396)
at java.util.concurrent.ThreadPoolExecutor.addIfUnderMaximumPoolSize(ThreadPoolExecutor.java:448)
at java.util.concurrent.ThreadPoolExecutor.execute(ThreadPoolExecutor.java:864)
at java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:45)
at chemaxon.marvin.util.MarvinModule.a(Unknown Source)
at chemaxon.marvin.util.MarvinModule.loadClass(Unknown Source)
at chemaxon.marvin.util.MarvinModule.load(Unknown Source)
... 31 more
ChemAxon 5433b8e56b
16-06-2010 13:59:33
Hi Bob,
Thank you for the exception. I have checked it and i assume it should be fixed. Please verify the fix with 5.3.4 which is currently available in our site.
If the problem still exsits please notify me in this topic.
Best regards,
Istvan
User 870ab5b546
16-06-2010 14:01:31
ChemAxon 5433b8e56b
18-06-2010 14:08:30
Hi Bob,
all right, as you see, we are checking the other issue. Afterall, i hope this problem is fixed and the other will be fixed soon as well. Thank you for checking it.
Regards,
Istvan