Uploaded image for project: 'Jalview'
  1. Jalview
  2. JAL-4242

exception when pressing escape in fetch from URL dialog

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.11.3.0
    • Fix Version/s: 2.11.3.0
    • Component/s: gui
    • Labels:

      Description

      Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: class java.lang.Integer cannot be cast to class java.lang.String (java.lang.Integer and java.lang.String are in module java.base of loader 'bootstrap')
      at jalview.gui.JvOptionPane.internalDialogHandleResponse(JvOptionPane.java:1132)
      at jalview.gui.JvOptionPane$3.internalFrameClosed(JvOptionPane.java:1088)
      at java.desktop/javax.swing.JInternalFrame.fireInternalFrameEvent(JInternalFrame.java:1541)
      at java.desktop/javax.swing.JInternalFrame.dispose(JInternalFrame.java:1767)
      at java.desktop/javax.swing.JInternalFrame.setClosed(JInternalFrame.java:807)
      at java.desktop/javax.swing.JOptionPane$5.propertyChange(JOptionPane.java:1544)
      at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
      at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
      at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
      at java.desktop/java.awt.Component.firePropertyChange(Component.java:8731)
      at java.desktop/javax.swing.JOptionPane.setValue(JOptionPane.java:1953)
      at java.desktop/javax.swing.plaf.basic.BasicOptionPaneUI$Actions.actionPerformed(BasicOptionPaneUI.java:1542)
      at java.desktop/javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1810)
      at java.desktop/javax.swing.JComponent.processKeyBinding(JComponent.java:2900)
      at java.desktop/javax.swing.KeyboardManager.fireBinding(KeyboardManager.java:311)
      at java.desktop/javax.swing.KeyboardManager.fireKeyboardAction(KeyboardManager.java:253)
      at java.desktop/javax.swing.JComponent.processKeyBindingsForAllComponents(JComponent.java:2993)
      at java.desktop/javax.swing.JComponent.processKeyBindings(JComponent.java:2974)
      at java.desktop/javax.swing.JComponent.processKeyEvent(JComponent.java:2862)
      at java.desktop/java.awt.Component.processEvent(Component.java:6412)
      at java.desktop/java.awt.Container.processEvent(Container.java:2263)
      at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
      at java.desktop/java.awt.KeyboardFocusManager.redispatchEvent(KeyboardFocusManager.java:1950)
      at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(DefaultKeyboardFocusManager.java:870)
      at java.desktop/java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(DefaultKeyboardFocusManager.java:1139)
      at java.desktop/java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(DefaultKeyboardFocusManager.java:1009)
      at java.desktop/java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:835)
      at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4892)
      at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
      at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
      at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
      at jalview.gui.JvOptionPane.startModal(JvOptionPane.java:1520)
      at jalview.gui.JvOptionPane.showInternalDialog(JvOptionPane.java:1117)
      at jalview.gui.Desktop.inputURLMenuItem_actionPerformed(Desktop.java:1416)
      at jalview.jbgui.GDesktop$2.actionPerformed(GDesktop.java:193)
      at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
      at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
      at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
      at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
      at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
      at java.desktop/com.apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:129)
      at java.desktop/java.awt.MenuItem.processActionEvent(MenuItem.java:690)
      at java.desktop/java.awt.MenuItem.processEvent(MenuItem.java:649)
      at java.desktop/java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:375)
      at java.desktop/java.awt.MenuComponent.dispatchEvent(MenuComponent.java:363)
      at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
      at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
      at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
      at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
      at java.base/java.security.AccessController.doPrivileged(Native Method)
      at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
      at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
      at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
      at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
      at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

        Attachments

          Activity

            People

            Assignee:
            soares Ben Soares
            Reporter:
            jprocter James Procter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: