Lior Vernia has uploaded a new change for review. Change subject: webadmin: Findbugs fix ......................................................................
webadmin: Findbugs fix Fixed possible null pointer exception. Change-Id: Id65858c03a27ac5d92324584599a5bb4aea3f576 Signed-off-by: Lior Vernia <lver...@redhat.com> --- M frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/73/17073/1 diff --git a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java index 8029cee..3e0190f 100644 --- a/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java +++ b/frontend/webadmin/modules/uicommonweb/src/main/java/org/ovirt/engine/ui/uicommonweb/models/hosts/HostModel.java @@ -1014,7 +1014,9 @@ getExternalProviders().getSelectedItem()).getAdditionalProperties(); String pluginName = (properties == null) ? new String() : properties.getPluginType(); getProviderPluginType().setSelectedItem(NeutronPluginTranslator.getDisplayStringForPluginName(pluginName)); - getNeutronAgentModel().init(properties.getAgentConfiguration()); + if (properties != null) { + getNeutronAgentModel().init(properties.getAgentConfiguration()); + } } } -- To view, visit http://gerrit.ovirt.org/17073 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Id65858c03a27ac5d92324584599a5bb4aea3f576 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Lior Vernia <lver...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches