From cce9a433443d6407b561679c4c489cdbfca2d12e Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Tue, 23 May 2017 20:35:59 +0100 Subject: [PATCH] =?utf8?q?JAL-2549=20skip=20=E2=80=98Unrecognised=20Service=E2?= =?utf8?q?=80=99=20which=20resolves=20to=20a=20null=20entry=20in=20the=20get?= =?utf8?q?=20supported=20services=20list?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- test/jalview/ws/jabaws/MinJabawsClientTests.java | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 1.7.10.2