X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=bundles%2Forg.simantics.browsing.ui.nattable%2Fsrc%2Forg%2Fsimantics%2Fbrowsing%2Fui%2Fnattable%2FNatTableGraphExplorer.java;h=aa384ad1d75e5abe61fbe3b0ede5a66218e67d47;hp=3bb05553dc7456e073d52b44e526688c2beffdc0;hb=da7836ef4008c742ae62af3ed7c3218492456adf;hpb=46ea0d713406fbd0a0d8a8e5f41b7fb8ea7001c3 diff --git a/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/NatTableGraphExplorer.java b/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/NatTableGraphExplorer.java index 3bb05553d..aa384ad1d 100644 --- a/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/NatTableGraphExplorer.java +++ b/bundles/org.simantics.browsing.ui.nattable/src/org/simantics/browsing/ui/nattable/NatTableGraphExplorer.java @@ -1858,10 +1858,9 @@ public class NatTableGraphExplorer extends GraphExplorerImplBase implements Grap if (modifier == null) return false; - String err = modifier.isValid(newValue.toString()); + String err = modifier.isValid(newValue != null ? newValue.toString() : ""); if (err == null) return true; - modifier.isValid(newValue.toString()); throw new ValidationFailedException(err); } }