Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Tiede2013-08-27 05:25:57 -0400
committerMarkus Tiede2013-08-27 05:25:57 -0400
commit119c1d4bf917815339552aa04959540ebbed6645 (patch)
tree13987cbf551a7d821f47345591963e82b2437088 /org.eclipse.jubula.autagent
parent0c6a3c05a7e359ae9f7021e9c7be288fc5d3247e (diff)
downloadorg.eclipse.jubula.core-119c1d4bf917815339552aa04959540ebbed6645.tar.gz
org.eclipse.jubula.core-119c1d4bf917815339552aa04959540ebbed6645.tar.xz
org.eclipse.jubula.core-119c1d4bf917815339552aa04959540ebbed6645.zip
Sprint task - prevent NPE.
Diffstat (limited to 'org.eclipse.jubula.autagent')
-rw-r--r--org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java
index 9b2d06fe3..e35103959 100644
--- a/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java
+++ b/org.eclipse.jubula.autagent/src/org/eclipse/jubula/autagent/agent/AutAgent.java
@@ -459,8 +459,8 @@ public class AutAgent {
if (m_isRunning) {
m_autIdToRestartHandler.remove(autId);
Communicator autCommunicator = m_auts.remove(autId);
- autCommunicator.prepareForConnectionProblems();
if (autCommunicator != null) {
+ autCommunicator.prepareForConnectionProblems();
try {
autCommunicator.send(
new PrepareForShutdownMessage());

Back to the top