Null argument checks.
NPE was observed in server (when no free disk space was left).
diff --git a/launching/org.eclipse.rcptt.launching/src/org/eclipse/rcptt/internal/launching/Q7LaunchManager.java b/launching/org.eclipse.rcptt.launching/src/org/eclipse/rcptt/internal/launching/Q7LaunchManager.java
index bba43de..c9a666c 100644
--- a/launching/org.eclipse.rcptt.launching/src/org/eclipse/rcptt/internal/launching/Q7LaunchManager.java
+++ b/launching/org.eclipse.rcptt.launching/src/org/eclipse/rcptt/internal/launching/Q7LaunchManager.java
@@ -68,6 +68,8 @@
import org.eclipse.rcptt.launching.ILaunchListener;
import org.eclipse.rcptt.launching.TestCaseDebugger;
+import com.google.common.base.Preconditions;
+
public class Q7LaunchManager {
public static final String Q7_TEST_SUITE_LAUNCH_ID = "org.eclipse.rcptt.launching.scenarios"; //$NON-NLS-1$
@@ -553,6 +555,11 @@
private Executable makeExecutionPlan(Executable parent,
IContext[] contexts, IVerification[] verifications) {
List<Executable> plan = new ArrayList<Executable>();
+ Preconditions.checkNotNull(parent);
+ if (contexts == null)
+ contexts = new IContext[0];
+ if (verifications == null)
+ verifications = new IVerification[0];
for (IVerification v : verifications)
try {