From 6e4f421de6ed1b7c4a8d98bd490f075acfd19f67 Mon Sep 17 00:00:00 2001 From: Reino Ruusu Date: Wed, 17 Apr 2019 17:52:34 +0300 Subject: [PATCH] Block exceptions actually caused by pending values from console. MissingVariableValueExceptions are thrown by getProperty() calls when pending values are cached for domain properties. gitlab #44 Change-Id: I2ca32821feb020defad4e55f2dd5893e9d4083f7 --- .../network/ui/nodes/DistrictNetworkHoverInfoStyle.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkHoverInfoStyle.java b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkHoverInfoStyle.java index 590903e0..ddcf1dde 100644 --- a/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkHoverInfoStyle.java +++ b/org.simantics.district.network.ui/src/org/simantics/district/network/ui/nodes/DistrictNetworkHoverInfoStyle.java @@ -11,6 +11,7 @@ import org.simantics.db.Resource; import org.simantics.db.common.procedure.adapter.TransientCacheListener; import org.simantics.db.common.request.ResourceRead; import org.simantics.db.exception.DatabaseException; +import org.simantics.db.layer0.exception.MissingVariableValueException; import org.simantics.db.layer0.exception.PendingVariableException; import org.simantics.db.layer0.util.Layer0Utils; import org.simantics.db.layer0.variable.Variable; @@ -99,7 +100,7 @@ public class DistrictNetworkHoverInfoStyle extends StyleBase", "", "")); } -- 2.47.1