substructure search in Markush tables fails in IJC 2.4.1

User da00f5c453

10-01-2009 19:27:31

Hi all,





I am trying to perform a substructure search in a Markush JChem table and I get the following error:





Code:
java.lang.IllegalAccessError: tried to access method chemaxon.util.HitDisplayTool.getHits(Lchemaxon/struc/Molecule;Lchemaxon/enumeration/supergraph/Supergraph;I)[Lchemaxon/struc/Molecule; from class com.im.ijc.renderers.impl.StructureRenderer


   at com.im.ijc.renderers.impl.StructureRenderer.formatMol(StructureRenderer.java:578)


   at com.im.ijc.renderers.impl.StructureRenderer.getWidgetCellRendererComponent(StructureRenderer.java:377)


   at com.im.ijc.renderers.impl.StructureRenderer.getTableCellRendererComponent(StructureRenderer.java:301)


   at javax.swing.JTable.prepareRenderer(JTable.java:5729)


   at javax.swing.plaf.basic.BasicTableUI.paintCell(BasicTableUI.java:2075)


   at javax.swing.plaf.basic.BasicTableUI.paintCells(BasicTableUI.java:1977)


   at javax.swing.plaf.basic.BasicTableUI.paint(BasicTableUI.java:1773)


   at javax.swing.plaf.ComponentUI.update(ComponentUI.java:143)


   at javax.swing.JComponent.paintComponent(JComponent.java:763)


   at com.im.ijc.widgets.table.WBTable.paintComponent(WBTable.java:1252)


   at javax.swing.JComponent.paint(JComponent.java:1027)


   at javax.swing.JComponent.paintToOffscreen(JComponent.java:5122)


   at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:277)


   at javax.swing.RepaintManager.paint(RepaintManager.java:1217)


   at javax.swing.JComponent._paintImmediately(JComponent.java:5070)


   at javax.swing.JComponent.paintImmediately(JComponent.java:4880)


   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:803)


   at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:714)


   at javax.swing.RepaintManager.seqPaintDirtyRegions(RepaintManager.java:694)


[catch] at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(SystemEventQueueUtilities.java:128)


   at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)


   at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)


   at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)


   at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)


   at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)


   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)


   at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)


   at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)








I can reproduce the error on Linux (Suse 10.3, x64, java 1.6.10) and windows xp.





To reproduce the error create a Markush table in IJC 2.4.1 and add the attached structure. Open query dialog and use as a query substructure "Clc1ccccc1".





I did the same steps in IJC 2.3.1 and I get no errors.





Oleg.

ChemAxon fa971619eb

11-01-2009 10:38:44

Thanks for the report.


This is due to one particular module not being updated correctly in the 2.4.1 update center.


We will fix the problem and provide a new update shortly.


In the meantime, the Java Web Start version is not affected by this, so you might want to try this version instead.


http://www.chemaxon.com/instantjchem-jws/stable/master.jnlp





Tim

ChemAxon fa971619eb

13-01-2009 16:20:39

We have just released a minor update to fix this problem.


It is available from the update center.


Java Web Start versions are unafected and will not be updated.





Tim