aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Lenz <tlenz@iaik.tugraz.at>2015-08-24 08:05:04 +0200
committerThomas Lenz <tlenz@iaik.tugraz.at>2015-08-24 08:05:04 +0200
commit198af698f3b203487ab72422a852a2551105327e (patch)
treeaa823ac5a750308e22ba85ae473df6dc66e15f92
parent4b4016db957066ef613f85e2d30e1c619dd9230a (diff)
downloadmoa-id-spss-198af698f3b203487ab72422a852a2551105327e.tar.gz
moa-id-spss-198af698f3b203487ab72422a852a2551105327e.tar.bz2
moa-id-spss-198af698f3b203487ab72422a852a2551105327e.zip
solve possible problem with revisionslogging
-rw-r--r--id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java5
1 files changed, 3 insertions, 2 deletions
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 &&