Commit f423089e authored by Günther Niess's avatar Günther Niess Committed by niess

OF-62: Fix NPE in session details page for expired sessions


git-svn-id: http://svn.igniterealtime.org/svn/repos/openfire/trunk@11272 b35dd754-fafc-0310-a699-88a17e54d16e
parent dab2b66e
......@@ -43,6 +43,12 @@
boolean isAnonymous = webManager.getXMPPServer().isLocal(address) &&
!UserManager.getInstance().isRegisteredUser(address.getNode());
// No current session found
if (currentSess == null) {
response.sendRedirect("session-summary.jsp");
return;
}
// Get a presence manager
PresenceManager presenceManager = webManager.getPresenceManager();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment