small change in results of Execution Graph...it will generate graphs for classes...
authorbdemsky <bdemsky>
Thu, 13 Sep 2007 09:10:44 +0000 (09:10 +0000)
committerbdemsky <bdemsky>
Thu, 13 Sep 2007 09:10:44 +0000 (09:10 +0000)
Robust/src/Analysis/TaskStateAnalysis/SafetyAnalysis.java

index 36ec073ee94497796b0d393478dc712e17b10f68..e86d4db8c1a677116a84c3fcdfc80e614defd15e 100644 (file)
@@ -121,6 +121,11 @@ public class SafetyAnalysis {
            
            //mark the graph
            EGTaskNode sourcenode = findSourceNode(nodes);
+
+           //skip classes that don't have source nodes
+           if (sourcenode==null)
+               continue;
+
            doGraphMarking(sourcenode);
            createDOTFile( classname );
            reducedgraph.clear();