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

Add server throws a bug if there is a space at the end of the URL

    Details

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

      Description

      Configure, 'Add..' to add server. Put in "http://demodas.transvar.org/das2/genome " with an empty blank space at the end (exactly as it is between the "" marks)

      Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Unable to parse URL: 'http://demodas.transvar.org/das2/genome '
      at com.affymetrix.genometryImpl.util.ServerUtils.formatURL(ServerUtils.java:1033)
      at com.affymetrix.igb.general.ServerList.addServer(ServerList.java:164)
      at com.affymetrix.igb.general.ServerList.addServer(ServerList.java:210)
      at com.affymetrix.igb.view.load.GeneralLoadUtils.addServer(GeneralLoadUtils.java:166)
      at com.affymetrix.igb.prefs.ServerPrefsView.addDataSource(ServerPrefsView.java:216)
      at com.affymetrix.igb.prefs.AddSource.addServerButtonActionPerformed(AddSource.java:230)
      at com.affymetrix.igb.prefs.AddSource.access$300(AddSource.java:36)
      at com.affymetrix.igb.prefs.AddSource$4.actionPerformed(AddSource.java:148)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
      at java.awt.Component.processMouseEvent(Component.java:6373)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6138)
      at java.awt.Container.processEvent(Container.java:2085)
      at java.awt.Component.dispatchEventImpl(Component.java:4735)
      at java.awt.Container.dispatchEventImpl(Container.java:2143)
      at java.awt.Component.dispatchEvent(Component.java:4565)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4621)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
      at java.awt.Container.dispatchEventImpl(Container.java:2129)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4565)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:679)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:638)
      at java.awt.EventQueue$1.run(EventQueue.java:636)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:652)
      at java.awt.EventQueue$2.run(EventQueue.java:650)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:649)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
      Caused by: java.net.URISyntaxException: Illegal character in path at index 39: http://demodas.transvar.org/das2/genome
      at java.net.URI$Parser.fail(URI.java:2809)
      at java.net.URI$Parser.checkChars(URI.java:2982)
      at java.net.URI$Parser.parseHierarchical(URI.java:3066)
      at java.net.URI$Parser.parse(URI.java:3014)
      at java.net.URI.<init>(URI.java:578)
      at com.affymetrix.genometryImpl.util.ServerUtils.formatURL(ServerUtils.java:1029)
      ... 43 more

        Attachments

          Issue Links

            Activity

            Hide
            fwang4 Fuquan Wang (Inactive) added a comment -

            Passed on 7.0.0 (11804) Mac.

            Show
            fwang4 Fuquan Wang (Inactive) added a comment - Passed on 7.0.0 (11804) Mac.
            Hide
            anuj Anuj Puram (Inactive) added a comment -

            Fixed in r11148

            Show
            anuj Anuj Puram (Inactive) added a comment - Fixed in r11148

              People

              • Assignee:
                Unassigned
                Reporter:
                alyssa Alyssa Gulledge (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: