From: Tuukka Lehtonen Date: Wed, 19 Apr 2017 08:04:06 +0000 (+0300) Subject: Fixed NPE bug caused by UpdateIssuesForOpenDiagrams issue view handler X-Git-Tag: v1.29.0~101 X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=commitdiff_plain;h=4d2f3cc2b28cc63dad256b1957f7e980f6cedc35 Fixed NPE bug caused by UpdateIssuesForOpenDiagrams issue view handler refs #7149 Change-Id: I61be5de3a09d821fb6a27b299e082d00d84e77d5 --- diff --git a/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/UpdateIssuesForOpenDiagrams.java b/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/UpdateIssuesForOpenDiagrams.java index 0f7cec48d..73073b09f 100644 --- a/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/UpdateIssuesForOpenDiagrams.java +++ b/bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/UpdateIssuesForOpenDiagrams.java @@ -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); } }