From 4d2f3cc2b28cc63dad256b1957f7e980f6cedc35 Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Wed, 19 Apr 2017 11:04:06 +0300 Subject: [PATCH] Fixed NPE bug caused by UpdateIssuesForOpenDiagrams issue view handler refs #7149 Change-Id: I61be5de3a09d821fb6a27b299e082d00d84e77d5 --- .../issues/ui/handler/UpdateIssuesForOpenDiagrams.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- 2.47.1