Export Error

User 8717ac71bd

26-01-2007 16:56:56

I tried searching for anything regarding problems with Export but I havent seen this anywhere.





In both versions 1.0.5 and 1.0.6, I cannot export anything from Instant JChem. I am running it on a Intel Mac OS X 10.4.8.





The window opens to name the file and pick the file type but as soon as I click next to move to the screen to choose fields I get the following error:





Code:
A java.lang.reflect.InvocationTargetException exception has occurred.


Click Show Details or see the messages.log file located in your /Users/dlancia/Library/Application Support/instantjchem/ijc_1_0/var/log folder.






Viewing details the trace is:


Code:



java.lang.reflect.UndeclaredThrowableException


   at $Proxy9.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.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)


   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)


   at java.awt.Component.processMouseEvent(Component.java:5554)


   at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)


   at java.awt.Component.processEvent(Component.java:5319)


   at java.awt.Container.processEvent(Container.java:2010)


   at java.awt.Component.dispatchEventImpl(Component.java:4021)


   at java.awt.Container.dispatchEventImpl(Container.java:2068)


   at java.awt.Component.dispatchEvent(Component.java:3869)


   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:1774)


   at java.awt.Component.dispatchEvent(Component.java:3869)


[catch] 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.pumpEventsForHierarchy(EventDispatchThread.java:180)


   at java.awt.Dialog$1.run(Dialog.java:515)


   at java.awt.Dialog.show(Dialog.java:536)


   at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)


   at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)


   at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)


   at org.openide.util.Mutex$1.run(Mutex.java:1188)


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


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


   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.reflect.InvocationTargetException


   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


   at java.lang.reflect.Method.invoke(Method.java:585)


   at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)


   ... 36 more


Caused by: java.lang.ClassCastException: apple.laf.AquaFileChooserUI


   at com.im.workbench.ijc.io.fileexport.ExportToFileWizardPanel1.validate(ExportToFileWizardPanel1.java:152)


   at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1113)


   at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1158)


   at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:70)


   at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1647)


   ... 41 more


==>


java.lang.reflect.InvocationTargetException


   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


   at java.lang.reflect.Method.invoke(Method.java:585)


   at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)


   at $Proxy9.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.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)


   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)


   at java.awt.Component.processMouseEvent(Component.java:5554)


   at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)


   at java.awt.Component.processEvent(Component.java:5319)


   at java.awt.Container.processEvent(Container.java:2010)


   at java.awt.Component.dispatchEventImpl(Component.java:4021)


   at java.awt.Container.dispatchEventImpl(Container.java:2068)


   at java.awt.Component.dispatchEvent(Component.java:3869)


   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:1774)


   at java.awt.Component.dispatchEvent(Component.java:3869)


[catch] 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.pumpEventsForHierarchy(EventDispatchThread.java:180)


   at java.awt.Dialog$1.run(Dialog.java:515)


   at java.awt.Dialog.show(Dialog.java:536)


   at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)


   at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)


   at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)


   at org.openide.util.Mutex$1.run(Mutex.java:1188)


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


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


   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.ClassCastException: apple.laf.AquaFileChooserUI


   at com.im.workbench.ijc.io.fileexport.ExportToFileWizardPanel1.validate(ExportToFileWizardPanel1.java:152)


   at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1113)


   at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1158)


   at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:70)


   at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1647)


   ... 41 more


==>


java.lang.ClassCastException: apple.laf.AquaFileChooserUI


   at com.im.workbench.ijc.io.fileexport.ExportToFileWizardPanel1.validate(ExportToFileWizardPanel1.java:152)


   at org.openide.WizardDescriptor$5.run(WizardDescriptor.java:1113)


   at org.openide.WizardDescriptor.lazyValidate(WizardDescriptor.java:1158)


   at org.openide.WizardDescriptor.access$1100(WizardDescriptor.java:70)


   at org.openide.WizardDescriptor$Listener.actionPerformed(WizardDescriptor.java:1647)


   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)


   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)


   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


   at java.lang.reflect.Method.invoke(Method.java:585)


   at org.openide.util.WeakListenerImpl$ProxyListener.invoke(WeakListenerImpl.java:410)


   at $Proxy9.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.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)


   at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)


   at java.awt.Component.processMouseEvent(Component.java:5554)


   at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)


   at java.awt.Component.processEvent(Component.java:5319)


   at java.awt.Container.processEvent(Container.java:2010)


   at java.awt.Component.dispatchEventImpl(Component.java:4021)


   at java.awt.Container.dispatchEventImpl(Container.java:2068)


   at java.awt.Component.dispatchEvent(Component.java:3869)


   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:1774)


   at java.awt.Component.dispatchEvent(Component.java:3869)


[catch] 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.pumpEventsForHierarchy(EventDispatchThread.java:180)


   at java.awt.Dialog$1.run(Dialog.java:515)


   at java.awt.Dialog.show(Dialog.java:536)


   at org.netbeans.core.windows.services.NbPresenter.superShow(NbPresenter.java:810)


   at org.netbeans.core.windows.services.NbPresenter.doShow(NbPresenter.java:853)


   at org.netbeans.core.windows.services.NbPresenter.run(NbPresenter.java:841)


   at org.openide.util.Mutex$1.run(Mutex.java:1188)


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


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


   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)











Does any know if there is a solution to this problem?





Thanks.


David

ChemAxon e189db4705

26-01-2007 23:50:04

Thank you for the bug report. We are looking for a solution and will fix it as soon as possible. This is an Apple specific problem and you are the first who reported it.





Unfortunately I don't see any workaround for the export - maybe switching look and feel could help, but I am not sure if it is possible on Apple.

ChemAxon fa971619eb

29-01-2007 16:54:36

We have a fix for this that we are currently testing


We expect it will be available shortly.





Tim

ChemAxon fa971619eb

01-02-2007 14:28:11

Updates for IJC 1.0.7 are now available that fix this problem.


File export has been redesigned to avoid this Mac specific problem. Hopefully all will be well now.





Tim

User 2e29183b3d

06-03-2007 17:59:28

I had the same problem on my Mac 10.4.8 and Instant JChem 1.0.5, and upgraded to the current 2.0 version (as of 6th March) - everything seems to work perfectly fine.
tdudgeon wrote:
Updates for IJC 1.0.7 are now available that fix this problem.


File export has been redesigned to avoid this Mac specific problem. Hopefully all will be well now.





Tim

User 8717ac71bd

07-03-2007 03:35:43

Just to finalize this, I have now used 107 and 2M2 and the problem is fixed.





Thanks.


David