myGrid
  1. myGrid
  2. TAV-728

Add Unknown Host Exception in PluginManager

    Details

    • Type: Improvement Improvement
    • Status: Closed Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.1
    • Component/s: None
    • Labels:
      None

      Description

      A user had a typo in a hostname from where he hoped to retrieve a plugin. The
      Taverna error message was missleading, just indicating that there was no
      plugin at that site rather than stating that the site did not exist:

      In
      ./taverna-update-manager/src/main/java/net/sf/taverna/update/plugin/PluginManager.java
      at line 386 introduce an extra catch for the
      UnknownHostException... something alike

      try {
      statusCode = client.executeMethod(getPlugins);
      } catch (java.net.UnknownHostException e) {
      logger.warn("Could not fetch plugins from host non-existing nost.",e);
      return plugins;
      } catch (IOException e) {
      logger.warn("Could not fetch plugins " + pluginsXML, e);
      return plugins;
      }

        Activity

        Ian Dunlop made changes -
        Field Original Value New Value
        Assignee Alan Williams [ awilliams ] Ian Dunlop [ ian ]
        Ian Dunlop made changes -
        Status Open [ 1 ] Prioritised [ 10000 ]
        Priority Major [ 3 ] Trivial [ 5 ]
        Ian Dunlop made changes -
        Status Prioritised [ 10000 ] Analysis In Progress [ 10004 ]
        Analysis As described in original issue. Add exception to PluginManager
        Ian Dunlop made changes -
        Status Analysis In Progress [ 10004 ] Analysed [ 10001 ]
        Assignee Ian Dunlop [ ian ] Alan Williams [ awilliams ]
        Ian Dunlop made changes -
        Assignee Alan Williams [ awilliams ] Ian Dunlop [ ian ]
        Ian Dunlop made changes -
        Status Analysed [ 10001 ] Closed [ 6 ]
        Fix Version/s 1.7.1 [ 10054 ]
        Resolution Fixed [ 1 ]
        David Withers (Inactive) made changes -
        Workflow New features and improvements [ 11665 ] jira [ 11946 ]
        Alan Williams made changes -
        Component/s Taverna Core [ 10005 ]

          People

          • Assignee:
            Ian Dunlop
            Reporter:
            Ian Dunlop
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: