Unverified Commit 9b5f7f47 authored by akrherz's avatar akrherz

OF-1309 fix NPE with initial commit

parent e2914de3
...@@ -129,7 +129,7 @@ public class LocalOutgoingServerSession extends LocalServerSession implements Ou ...@@ -129,7 +129,7 @@ public class LocalOutgoingServerSession extends LocalServerSession implements Ou
return false; return false;
} }
session = sessionManager.getOutgoingServerSession(remoteDomain); session = sessionManager.getOutgoingServerSession(remoteDomain);
if ( !session.isUsingServerDialback() ) if (session != null && !session.isUsingServerDialback() )
{ {
log.debug( "Dialback was not used for '{}'. This session cannot be re-used.", remoteDomain ); log.debug( "Dialback was not used for '{}'. This session cannot be re-used.", remoteDomain );
session = null; session = null;
......
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