Tim,
I followed a suggestion to try running a 32 bit version of IJC on my 64 bit windows machine and ChemDraw was working after some light testing. So this is a possible work around.
My concern was that a problem occurs in IJC that is very hard to recover from.
To reproduce"
- Install both 64 bit and 32 bit IJC on my machine in different locations (Program Files and Program Files (x86), respectively)
- Run 32 bit IJC and select Chemdraw as the selected molecule editor. Tools>>options>>Miscellaneous area>>Molecule view/edit tab>>Molecule Editor section.
- Close the 32 bit IJC and open 64 bit IJC.
- Open a grid view or form view of data tree that has a structure or open the Molecule view/edit tab in the options panel.
- The following error occurs:
An error has occurred. However, the system should continue working.
Check Instant JChem log file located in your C:\Users\jonlee\AppData\Roaming\.instantjchem\ijc_5_10\var\log folder for more details.
java.lang.NullPointerException
at com.im.ijc.sketchreg.SketchRegistry.<init>(SketchRegistry.java:93)
at com.im.ijc.sketchreg.SketchRegistry.<clinit>(SketchRegistry.java:43)
Caused: java.lang.ExceptionInInitializerError
at com.im.ijc.widgets.table.editors.StructureTCEditor.<init>(StructureTCEditor.java:95)
at com.im.ijc.widgets.table.AbstractWBTable.createTableCellEditorForField(AbstractWBTable.java:104)
at com.im.ijc.widgets.table.WBTable.setEditorAndRendererForColumn(WBTable.java:582)
at com.im.ijc.widgets.table.WBTable.createDefaultColumnsFromModel(WBTable.java:624)
at javax.swing.JTable.tableChanged(Unknown Source)
at javax.swing.JTable.setModel(Unknown Source)
at javax.swing.JTable.<init>(Unknown Source)
at javax.swing.JTable.<init>(Unknown Source)
at com.im.ijc.widgets.common.table.ResizableTableImpl.<init>(ResizableTableImpl.java:31)
at com.im.ijc.widgets.table.AbstractWBTable.<init>(AbstractWBTable.java:143)
at com.im.ijc.widgets.table.WBTable.<init>(WBTable.java:158)
at com.im.ijc.widgets.table.WBTableWidget.setFields(WBTableWidget.java:237)
at com.im.ijc.widgets.table.AbstractTableWidget.bind(AbstractTableWidget.java:201)
at com.im.ijc.widgets.table.WBTableFactory.restoreWidget(WBTableFactory.java:59)
at com.im.ijc.widgets.common.GenericWidgetFactory.restoreWidget(GenericWidgetFactory.java:47)
at com.im.ijc.formview.xml.DesignerHandleWidgetPersister.readElement(DesignerHandleWidgetPersister.java:207)
at com.im.df.api.util.xml.BasicPersister.read(BasicPersister.java:1027)
at com.im.df.api.util.xml.BasicPersister.readObjectPolymorphic(BasicPersister.java:1157)
at com.im.ijc.gridview.io.GridViewConfigPersister.readElement(GridViewConfigPersister.java:56)
at com.im.df.api.util.xml.BasicPersister.read(BasicPersister.java:1027)
at com.im.df.api.util.xml.PersisterRegistry.load(PersisterRegistry.java:98)
at com.im.df.api.util.xml.PersisterRegistry.load(PersisterRegistry.java:81)
at com.im.df.api.util.xml.XMLUtils.loadBean(XMLUtils.java:117)
at com.im.ijc.gridview.GridViewTopComponent.loadTableState(GridViewTopComponent.java:242)
at com.im.ijc.gridview.GridViewTopComponent.createTableWidget(GridViewTopComponent.java:222)
at com.im.ijc.gridview.GridViewTopComponent$1.phase2InAWT(GridViewTopComponent.java:186)
at com.im.commons.progress.BackgroundRunner$3.run(BackgroundRunner.java:149)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$000(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.awt.EventQueue$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:162)
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)
[catch] at java.awt.EventDispatchThread.run(Unknown Source)
This would not be too bad if you can change the molecule editor in the options panel. I had to reopen the 32 bit IJC and change it back to Marvin for the error to go away.
Jon