Bug 1306213

Summary: 'Uncaught exception occurred' message keeps appearing in hosts tab when adding host
Product: Red Hat Enterprise Virtualization Manager Reporter: Sharon Naftaly <snaftaly>
Component: ovirt-engineAssignee: Ravi Nori <rnori>
Status: CLOSED DUPLICATE QA Contact:
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.6.3CC: cshao, eedri, fdeutsch, gklein, huiwa, huzhao, lsurette, mgoldboi, oourfali, rbalakri, Rhev-m-bugs, rnori, snaftaly, weiwang, ycui, yeylon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-10 11:43:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine logs none

Description Sharon Naftaly 2016-02-10 10:42:08 UTC
Description of problem:
When adding host, the following message keeps appearing on the screen, only inside the hosts tab. It seems to stop only when the hosts installation is complete:
Uncaught exception occurred. Please try reloading the page. Details: (TypeError) __gwt$exception: <skipped>: c is null
Please have your administrator check the UI logs

Version-Release number of selected component (if applicable):


How reproducible:
Add a host

Steps to Reproduce:
1. Add host
2. Stay in hosts tab
3.

Actual results:


Expected results:


Additional info:

Comment 1 Sharon Naftaly 2016-02-10 10:48:02 UTC
Host was added successfully, despite these error messages

Comment 2 Oved Ourfali 2016-02-10 10:51:48 UTC
Can you attach the logs? 
Including the UI logs?

Comment 3 Sharon Naftaly 2016-02-10 11:02:46 UTC
Created attachment 1122732 [details]
engine logs

Comment 4 Oved Ourfali 2016-02-10 11:32:14 UTC
Ravi - is that a duplicate of Bug 1301871? (Well, the result of the initial patch for it?)

Comment 5 Oved Ourfali 2016-02-10 11:43:42 UTC
UI.log with the debuginfo shows:
2016-02-10 13:39:48,159 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-1) [] Permutation name: 18FD18B4BF945F51FCBC8A846F7FC2E0
2016-02-10 13:39:48,160 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-1) [] Uncaught exception: : com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError)
 __gwt$exception: <skipped>: Cannot read property 'replace' of null
        at java.lang.Throwable.fillInStackTrace(Throwable.java:114) [rt.jar:1.7.0_95]
        at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.7.0_95]
        at com.google.web.bindery.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:70) [gwt-servlet.jar:]
        at com.google.gwt.event.shared.UmbrellaException.UmbrellaException(UmbrellaException.java:25) [gwt-servlet.jar:]
        at com.google.gwt.event.shared.HandlerManager.$fireEvent(HandlerManager.java:117) [gwt-servlet.jar:]
        at com.google.gwt.view.client.SelectionChangeEvent.fire(SelectionChangeEvent.java:67) [gwt-servlet.jar:]
        at org.ovirt.engine.ui.common.widget.table.OrderedMultiSelectionModel.$resolveChanges(OrderedMultiSelectionModel.java:117)
        at org.ovirt.engine.ui.common.widget.table.OrderedMultiSelectionModel.fireSelectionChangeEvent(OrderedMultiSelectionModel.java:110)
        at com.google.gwt.view.client.SelectionModel$AbstractSelectionModel$1.execute(SelectionModel.java:128) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.runScheduledTasks(SchedulerImpl.java:164) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.SchedulerImpl.$flushFinallyCommands(SchedulerImpl.java:270) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.exit(Impl.java:378) [gwt-servlet.jar:]
        at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) [gwt-servlet.jar:]
        at Unknown.<anonymous>(https://integ-test-engine01.ci.lab.tlv.redhat.com/ovirt-engine/webadmin/18FD18B4BF945F51FCBC8A846F7FC2E0.cache.html@54)
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: <skipped>: Cannot read property 'replace' of null
        at java.lang.String.$replaceAll(String.java:833) [rt.jar:1.7.0_95]
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.$updateProperties(HostGeneralModel.java:817)
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.onEntityChanged(HostGeneralModel.java:787)
        at org.ovirt.engine.ui.uicommonweb.models.EntityModel.$setEntity(EntityModel.java:34)
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.$setEntity(HostGeneralModel.java:106)
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostGeneralModel.setEntity(HostGeneralModel.java:106)
        at org.ovirt.engine.ui.uicommonweb.models.ListWithDetailsModel.$onSelectedItemChanged(ListWithDetailsModel.java:66)
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.$onSelectedItemChanged(HostListModel.java:1687)
        at org.ovirt.engine.ui.uicommonweb.models.hosts.HostListModel.onSelectedItemChanged(HostListModel.java:1687)
        at org.ovirt.engine.ui.uicommonweb.models.ListModel.$setSelectedItem(ListModel.java:80)
        at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setSelectedItem(SearchableListModel.java:409)
        at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.setSelectedItem(SearchableListModel.java:409)
        at org.ovirt.engine.ui.common.uicommon.model.DataBoundTabModelProvider.$setSelectedItems(DataBoundTabModelProvider.java:85)
        at org.ovirt.engine.ui.webadmin.section.main.presenter.AbstractMainTabWithDetailsPresenter$1.onSelectionChange(AbstractMainTabWithDetailsPresenter.java:53)
        at com.google.gwt.view.client.SelectionChangeEvent.dispatch(SelectionChangeEvent.java:98) [gwt-servlet.jar:]


So closing as duplicate.

*** This bug has been marked as a duplicate of bug 1301871 ***