From 198af698f3b203487ab72422a852a2551105327e Mon Sep 17 00:00:00 2001 From: Thomas Lenz Date: Mon, 24 Aug 2015 08:05:04 +0200 Subject: solve possible problem with revisionslogging --- .../java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'id/server') diff --git a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java index 4d88caffc..f486829bf 100644 --- a/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java +++ b/id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java @@ -290,8 +290,9 @@ public class DispatcherServlet extends AuthServlet{ protocolRequest = info.preProcess(req, resp, action, uniqueSessionIdentifier, protocolRequestID); - MOAReversionLogger.getInstance().logEvent(protocolRequest.getOnlineApplicationConfiguration(), - protocolRequest, MOAIDEventConstants.AUTHPROTOCOL_TYPE, protocolRequest.requestedModule()); + if (protocolRequest != null) + MOAReversionLogger.getInstance().logEvent(protocolRequest.getOnlineApplicationConfiguration(), + protocolRequest, MOAIDEventConstants.AUTHPROTOCOL_TYPE, protocolRequest.requestedModule()); //request is a valid interfederation response if (protocolRequest != null && -- cgit v1.2.3