]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
Fixed NPE bug caused by UpdateIssuesForOpenDiagrams issue view handler 25/425/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 19 Apr 2017 08:04:06 +0000 (11:04 +0300)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 19 Apr 2017 08:04:06 +0000 (11:04 +0300)
refs #7149

Change-Id: I61be5de3a09d821fb6a27b299e082d00d84e77d5

bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/UpdateIssuesForOpenDiagrams.java

index 0f7cec48de62500cab7e84868569aa040d0b053c..73073b09ff90c89308eb474008cdf3b7bd00517a 100644 (file)
@@ -122,7 +122,7 @@ public class UpdateIssuesForOpenDiagrams extends AbstractHandler {
                                 
                                 context.contexts = compositesToValidate;
                                 if(!compositesToValidate.isEmpty()) {
-                                       ModelTransferableGraphSourceRequest.getDomainOnly(graph, monitor, compositesToValidate);
+                                    context.domain = ModelTransferableGraphSourceRequest.getDomainOnly(graph, monitor, compositesToValidate);
                                 }
                                 
                             }