Uploaded image for project: 'Bug Repository'
  1. Bug Repository
  2. BUG-245

Issue with 'Browse' and 'OK' butons in the "Export Image" window

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Labels:
      None
    • Environment:

      Windows
      Integrated Genome Browser, version: 6.7.0 (9884)

      Description

      1. Load any species
      2. Zoom in at any location, change colors, or make some change in general
      3. 'File' -> 'Export Image...'
      4. Click 'Browse' -> choose location for image -> then click 'Select'
      The 'Browse' window closes, but the console throws this exception:

      Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at com.affymetrix.igb.util.ExportDialog.extComboBoxActionPerformed(ExportDialog.java:273)
      at com.affymetrix.igb.util.ExportDialogGUI.extComboBoxActionPerformed(ExportDialogGUI.java:383)
      at com.affymetrix.igb.util.ExportDialogGUI.access$100(ExportDialogGUI.java:20)
      at com.affymetrix.igb.util.ExportDialogGUI$2.actionPerformed(ExportDialogGUI.java:159)
      at javax.swing.JComboBox.fireActionEvent(Unknown Source)
      at javax.swing.JComboBox.setSelectedItem(Unknown Source)
      at com.affymetrix.igb.util.ExportDialog.browseButtonActionPerformed(ExportDialog.java:247)
      at com.affymetrix.igb.util.ExportDialogGUI.browseButtonActionPerformed(ExportDialogGUI.java:379)
      at com.affymetrix.igb.util.ExportDialogGUI.access$000(ExportDialogGUI.java:20)
      at com.affymetrix.igb.util.ExportDialogGUI$1.actionPerformed(ExportDialogGUI.java:153)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(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.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue$2.run(Unknown Source)
      at java.awt.EventQueue$2.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 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)
      at java.awt.EventDispatchThread.run(Unknown Source)

      5. Click 'OK' to close the 'Export Image' window. The window does not close and remains on the screen and this exception is thrown:

      Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at com.affymetrix.igb.util.ExportDialog.okButtonActionPerformed(ExportDialog.java:294)
      at com.affymetrix.igb.util.ExportDialogGUI.okButtonActionPerformed(ExportDialogGUI.java:395)
      at com.affymetrix.igb.util.ExportDialogGUI.access$300(ExportDialogGUI.java:20)
      at com.affymetrix.igb.util.ExportDialogGUI$4.actionPerformed(ExportDialogGUI.java:173)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(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.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue$2.run(Unknown Source)
      at java.awt.EventQueue$2.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 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)
      at java.awt.EventDispatchThread.run(Unknown Source)

      6. Attempt to click 'Browse' again. The 'Browse' window does not open and another exception is thrown:

      Exception in thread "AWT-EventQueue-0" java.lang.StringIndexOutOfBoundsException: String index out of range: -1
      at java.lang.String.substring(Unknown Source)
      at com.affymetrix.igb.util.ExportDialog.browseButtonActionPerformed(ExportDialog.java:225)
      at com.affymetrix.igb.util.ExportDialogGUI.browseButtonActionPerformed(ExportDialogGUI.java:379)
      at com.affymetrix.igb.util.ExportDialogGUI.access$000(ExportDialogGUI.java:20)
      at com.affymetrix.igb.util.ExportDialogGUI$1.actionPerformed(ExportDialogGUI.java:153)
      at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
      at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
      at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
      at java.awt.Component.processMouseEvent(Unknown Source)
      at javax.swing.JComponent.processMouseEvent(Unknown Source)
      at java.awt.Component.processEvent(Unknown Source)
      at java.awt.Container.processEvent(Unknown Source)
      at java.awt.Component.dispatchEventImpl(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(Unknown Source)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      at java.awt.Container.dispatchEventImpl(Unknown Source)
      at java.awt.Window.dispatchEventImpl(Unknown Source)
      at java.awt.Component.dispatchEvent(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.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
      at java.awt.EventQueue$2.run(Unknown Source)
      at java.awt.EventQueue$2.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 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)
      at java.awt.EventDispatchThread.run(Unknown Source)

      6. Adjust the image size and click reset. This causes no issue.
      7. Change to different views. This causes no issue.
      8. Click 'Cancel" and the 'Export Image' window will close with no thrown exception.
      9. Check location where the image should have been saved to and there is no image saved.

        Attachments

          Issue Links

            Activity

            kkubiak Katharine Kubiak (Inactive) created issue -
            Hide
            imnick Nick Ren (Inactive) added a comment -

            Fixed in version 9912.

            Show
            imnick Nick Ren (Inactive) added a comment - Fixed in version 9912.
            imnick Nick Ren (Inactive) made changes -
            Field Original Value New Value
            Assignee Nick Ren [ imnick ] Katharine Kubiak [ kkubiak ]
            Hide
            kkubiak Katharine Kubiak (Inactive) added a comment -

            Passed v9915 Windows

            Show
            kkubiak Katharine Kubiak (Inactive) added a comment - Passed v9915 Windows
            kkubiak Katharine Kubiak (Inactive) made changes -
            Assignee Katharine Kubiak [ kkubiak ] Anuj Puram [ anuj ]
            Hide
            anuj Anuj Puram (Inactive) added a comment -

            Passed v10003 on Mac

            Show
            anuj Anuj Puram (Inactive) added a comment - Passed v10003 on Mac
            anuj Anuj Puram (Inactive) made changes -
            Assignee Anuj Puram [ anuj ] Alyssa Gulledge [ alyssa ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Assignee Alyssa Gulledge [ alyssa ]
            Resolution Fixed [ 1 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            darius darius made changes -
            Resolution Fixed [ 1 ]
            Status Closed [ 6 ] Reopened [ 4 ]
            Assignee Darius Bost [ darius ]
            Hide
            darius darius added a comment -

            Passed 7.0 (11840)

            Show
            darius darius added a comment - Passed 7.0 (11840)
            darius darius made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Assignee Darius Bost [ darius ]
            Resolution Fixed [ 1 ]
            richard Richard Linchangco (Inactive) made changes -
            Resolution Fixed [ 1 ]
            Status Resolved [ 5 ] Reopened [ 4 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Link This issue relates to BUG-655 [ BUG-655 ]
            Hide
            darius darius added a comment -

            Passed on Windows XP IGB 7.0

            Show
            darius darius added a comment - Passed on Windows XP IGB 7.0
            darius darius made changes -
            Status Reopened [ 4 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            alyssa Alyssa Gulledge (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                Unassigned
                Reporter:
                kkubiak Katharine Kubiak (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: