From 694966b6139aaf007b8ee227f3fcd3f53d5b4f8c Mon Sep 17 00:00:00 2001 From: mhajas Date: Thu, 23 Aug 2018 09:13:42 +0200 Subject: [PATCH] KEYCLOAK-8120 Fix NullPointerException in ClaimInformationPointProviderTest --- .../authorization/ClaimInformationPointProviderTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/ClaimInformationPointProviderTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/ClaimInformationPointProviderTest.java index 4d87e69dbc..8f276440e6 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/ClaimInformationPointProviderTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/admin/client/authorization/ClaimInformationPointProviderTest.java @@ -138,7 +138,9 @@ public class ClaimInformationPointProviderTest extends AbstractKeycloakTest { @AfterClass public static void onAfterClass() { - httpService.stop(); + if (httpService != null) { + httpService.stop(); + } } @Override