From a7eaa6a719acf77b115f48aeaab901ebedaf0a9b Mon Sep 17 00:00:00 2001 From: Tuukka Lehtonen Date: Mon, 2 Jan 2017 22:17:38 +0200 Subject: [PATCH] Fixed NPE caused by previous change. refs #6926 Change-Id: I43da3f39957c5832f1ebef32fa18f52adf8c1737 --- .../structural/synchronization/base/UpdateComponentUids.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/UpdateComponentUids.java b/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/UpdateComponentUids.java index dad99c8ce..0c051ecef 100644 --- a/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/UpdateComponentUids.java +++ b/bundles/org.simantics.structural.synchronization.client/src/org/simantics/structural/synchronization/base/UpdateComponentUids.java @@ -35,6 +35,7 @@ public class UpdateComponentUids> { this.componentMonitor = monitor instanceof ComponentUpdateProgressMonitor ? (ComponentUpdateProgressMonitor) monitor : null; this.graph = graph; this.componentCount = componentCount; + this.oldToNewUids = new THashMap<>(componentCount); } private void update(T component, Variable variable) throws DatabaseException { -- 2.47.1