From: Jim Procter Date: Tue, 23 May 2017 19:35:59 +0000 (+0100) Subject: JAL-2549 skip ‘Unrecognised Service’ which resolves to a null entry in the get suppor... X-Git-Tag: Release_2_10_2~3^2~70^2~1 X-Git-Url: http://source.jalview.org/gitweb/?a=commitdiff_plain;h=cce9a433443d6407b561679c4c489cdbfca2d12e;hp=e8a5dff1de7b1205d1adc21ca3b00c8b63634026;p=jalview.git JAL-2549 skip ‘Unrecognised Service’ which resolves to a null entry in the get supported services list --- diff --git a/test/jalview/ws/jabaws/MinJabawsClientTests.java b/test/jalview/ws/jabaws/MinJabawsClientTests.java index 998524a..6af831f 100644 --- a/test/jalview/ws/jabaws/MinJabawsClientTests.java +++ b/test/jalview/ws/jabaws/MinJabawsClientTests.java @@ -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);