MView 5.1.3 open file problem

User da00f5c453

12-11-2008 00:00:02

Hi all,





I just downloaded the latest version of Marvin Beans and I am having a problem with open file dialog, specifically when I go to File menu and click Open I get:





Code:
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException


        at chemaxon.marvin.common.swing.MolPanel.openMolfile(MolPanel.java:4513)


        at chemaxon.marvin.beans.MarvinPane.showFileDialog(MarvinPane.java:929)


        at chemaxon.marvin.View$1.actionPerformed(View.java:130)


        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)


        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)


        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)


        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)


        at javax.swing.AbstractButton.doClick(AbstractButton.java:357)


        at javax.swing.AbstractButton.doClick(AbstractButton.java:337)


        at javax.swing.plaf.basic.BasicMenuItemUI$Actions.actionPerformed(BasicMenuItemUI.java:1194)


        at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1636)


        at javax.swing.JComponent.processKeyBinding(JComponent.java:2849)


        at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:670)


        at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:678)


        at javax.swing.JMenuBar.processBindingForKeyStrokeRecursive(JMenuBar.java:678)


        at javax.swing.JMenuBar.processKeyBinding(JMenuBar.java:649)


        at javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:267)


        at javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:254)


        at javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2926)


        at javax.swing.JComponent.processKeyBindings(JComponent.java:2918)


        at javax.swing.JComponent.processKeyEvent(JComponent.java:2812)


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


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


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


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


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


        at java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1848)


        at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:704)


        at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:969)


        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:841)


        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:668)


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


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


        at java.awt.Window.dispatchEventImpl(Window.java:2458)


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


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


        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)














OS: openSuSE 10.3, java 1.6.0_10 64 bit


the same on windows XP with java 1.6.0_10





Oleg.

ChemAxon 909aee4527

12-11-2008 08:55:57

Hello Oleg,





thank you for the bug report.


We could reproduce the problem, and it is already fixed.





I'll get back as soon as I have information when the fix will be released.





Kind regards,


Judit

ChemAxon 909aee4527

13-11-2008 05:24:19

Dear Oleg,





we have released an 5.1.3.1 quick fixing this problem, apologies for this inconvenience.





Kind regards,


Judit

User da00f5c453

13-11-2008 18:13:32

Hi Judit





I downloaded the last version, it works now, thanks for quick response!





Oleg