JAL-2549 skip ‘Unrecognised Service’ which resolves to a null entry in the get suppor...
authorJim Procter <jprocter@issues.jalview.org>
Tue, 23 May 2017 19:35:59 +0000 (20:35 +0100)
committerJim Procter <jprocter@issues.jalview.org>
Tue, 23 May 2017 19:35:59 +0000 (20:35 +0100)
test/jalview/ws/jabaws/MinJabawsClientTests.java

index 998524a..6af831f 100644 (file)
@@ -66,6 +66,11 @@ public class MinJabawsClientTests
       MsaWS msaservice = null;
       for (Services service : registry.getSupportedServices())
       {
+        if (service == null)
+        {
+          // the 'unsupported service'
+          continue;
+        }
         if (service.equals(Services.ClustalOWS))
         {
           msaservice = (MsaWS) Jws2Client.connect(url, service);