Fix NPE at shell utils

 - Add null check on Table and UiUtils where the value properties are
evaluated.