diff options
author | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-08-24 08:05:04 +0200 |
---|---|---|
committer | Thomas Lenz <tlenz@iaik.tugraz.at> | 2015-08-24 08:05:04 +0200 |
commit | 198af698f3b203487ab72422a852a2551105327e (patch) | |
tree | aa823ac5a750308e22ba85ae473df6dc66e15f92 /id/server/idserverlib/src/main/java/at | |
parent | 4b4016db957066ef613f85e2d30e1c619dd9230a (diff) | |
download | moa-id-spss-198af698f3b203487ab72422a852a2551105327e.tar.gz moa-id-spss-198af698f3b203487ab72422a852a2551105327e.tar.bz2 moa-id-spss-198af698f3b203487ab72422a852a2551105327e.zip |
solve possible problem with revisionslogging
Diffstat (limited to 'id/server/idserverlib/src/main/java/at')
-rw-r--r-- | id/server/idserverlib/src/main/java/at/gv/egovernment/moa/id/entrypoints/DispatcherServlet.java | 5 |
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 && |