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.28.0~25 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F26%2F426%2F1;p=simantics%2Fplatform.git Fixed NPE bug caused by UpdateIssuesForOpenDiagrams issue view handler refs #7149 Change-Id: I61be5de3a09d821fb6a27b299e082d00d84e77d5 (cherry picked from commit 4d2f3cc2b28cc63dad256b1957f7e980f6cedc35) --- 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); } }