Details

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

      affects 6.6, check for 6.7

      Description

      Tried to add local folder QL site but got this error:

      Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: Node name file%3A%2FUsers%2Fpi%2FDropbox%2FTranscriptome%2520Assembly%2FigbFiles%2Fquickload%2F too long
      at java.util.prefs.AbstractPreferences.node(AbstractPreferences.java:814)
      at java.util.prefs.AbstractPreferences.node(AbstractPreferences.java:796)
      at com.affymetrix.genometryImpl.general.GenericServer.<init>(GenericServer.java:44)
      at com.affymetrix.igb.general.ServerList.addServer(ServerList.java:161)
      at com.affymetrix.igb.general.ServerList.addServer(ServerList.java:182)
      at com.affymetrix.igb.view.load.GeneralLoadUtils.addServer(GeneralLoadUtils.java:132)
      at com.affymetrix.igb.view.ServerPrefsView.addDataSource(ServerPrefsView.java:214)
      at com.affymetrix.igb.view.DataLoadPrefsView.addDataSource(DataLoadPrefsView.java:382)
      at com.affymetrix.igb.view.ServerPrefsView.showAddSourceDialog(ServerPrefsView.java:199)
      at com.affymetrix.igb.view.ServerPrefsView.access$000(ServerPrefsView.java:52)
      at com.affymetrix.igb.view.ServerPrefsView$1.actionPerformed(ServerPrefsView.java:97)
      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:6352)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6117)
      at java.awt.Container.processEvent(Container.java:2085)
      at java.awt.Component.dispatchEventImpl(Component.java:4714)
      at java.awt.Container.dispatchEventImpl(Container.java:2143)
      at java.awt.Component.dispatchEvent(Component.java:4544)
      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:4544)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
      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)

        Attachments

          Issue Links

            Activity

            Hide
            jfvillal jfvillal added a comment -

            The problem is cause because the URL for the Quickload or DAS server is used as the key to store and retrieve Java Preferences. This is fine until the URL gets to a size > 80 characters.

            For 6.6, a pop-up can be implemented that tells the user long URL's are not supported.

            For 6.7, I am using a hash of the URL as the key to Java Preferences, which always stays below 80 characters. This also means the preference format will change for 6.7.

            Show
            jfvillal jfvillal added a comment - The problem is cause because the URL for the Quickload or DAS server is used as the key to store and retrieve Java Preferences. This is fine until the URL gets to a size > 80 characters. For 6.6, a pop-up can be implemented that tells the user long URL's are not supported. For 6.7, I am using a hash of the URL as the key to Java Preferences, which always stays below 80 characters. This also means the preference format will change for 6.7.
            Hide
            jfvillal jfvillal added a comment -

            A fix has been commited for 6.7

            Show
            jfvillal jfvillal added a comment - A fix has been commited for 6.7
            Hide
            jfvillal jfvillal added a comment -

            The fix replaced URL with a hash.

            To test no side effects were created by this fix, look for a long number showing up instead of the server's URL. Or not being able to load a server's information.

            The fix updates the old preference format. So loading the latest build after running 6.6 or last week's 6.7 can be used to create old-style server preferences. Upon loading IGB. The standard output should show the entries are being updated.

            The fix also affected a few lines that handle .htaccess websites. Testing IGB access to .htaccess websites can also be done to look for bugs caused by this fix.

            Show
            jfvillal jfvillal added a comment - The fix replaced URL with a hash. To test no side effects were created by this fix, look for a long number showing up instead of the server's URL. Or not being able to load a server's information. The fix updates the old preference format. So loading the latest build after running 6.6 or last week's 6.7 can be used to create old-style server preferences. Upon loading IGB. The standard output should show the entries are being updated. The fix also affected a few lines that handle .htaccess websites. Testing IGB access to .htaccess websites can also be done to look for bugs caused by this fix.

              People

              • Assignee:
                Unassigned
                Reporter:
                ann.loraine Ann Loraine
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: