Fix to avoid NPE when a field don't have initializer and field.getStringInitializer() is invoked