lttng: Enable null-checking in test plugins
[deliverable/tracecompass.git] / org.eclipse.linuxtools.lttng2.kernel.core.tests / src / org / eclipse / linuxtools / lttng2 / kernel / core / tests / stateprovider / GenerateTestValues.java
index 95e53248874c4a38b2e41e78b382531e4838db24..dd85c0e4776648446a0caa378ee52703e64f5275 100644 (file)
@@ -76,6 +76,9 @@ public class GenerateTestValues {
             module.schedule();
             module.waitForCompletion();
             ITmfStateSystem ssq = module.getStateSystem();
+            if (ssq == null) {
+                throw new IllegalStateException();
+            }
 
             List<ITmfStateInterval> fullState = ssq.queryFullState(targetTimestamp);
 
This page took 0.025016 seconds and 5 git commands to generate.