Bug 1324072

Summary: stack trace on the UI (System Tree related?)
Product: [oVirt] ovirt-engine Reporter: Fabrice Bacchella <fabrice.bacchella>
Component: Frontend.WebAdminAssignee: Alexander Wels <awels>
Status: CLOSED WORKSFORME QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.5.1CC: bugs, fabrice.bacchella, oourfali
Target Milestone: ovirt-4.0.0-rcFlags: oourfali: ovirt-4.0.0?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-25 13:48:16 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:

Description Fabrice Bacchella 2016-04-05 13:00:01 UTC
I got a stack on the UI, I'm unable to reproduce it:

2016-04-05 14:36:14,476 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-13) [] Permutation name: A074B6CAB9A1E250E7C1B447E6DD9594
2016-04-05 14:36:14,476 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (default task-13) [] Uncaught exception: : com.google.gwt.event.shared.UmbrellaException: Exception caught: Exception caught: (TypeError) 
__gwt$exception: <skipped>: Cannot read property 'f' of null
       at java.lang.Throwable.fillInStackTrace(Throwable.java:114) [rt.jar:1.7.0_99]
       at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.7.0_99]
       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 com.google.gwt.view.client.SingleSelectionModel.$resolveChanges(SingleSelectionModel.java:118) [gwt-servlet.jar:]
       at com.google.gwt.view.client.SingleSelectionModel.isSelected(SingleSelectionModel.java:82) [gwt-servlet.jar:]
       at com.google.gwt.user.cellview.client.HasDataPresenter.$resolvePendingState(HasDataPresenter.java:1062) [gwt-servlet.jar:]
       at com.google.gwt.user.cellview.client.CellTreeNodeView$TreeNodeImpl.$getChildCount(CellTreeNodeView.java:573) [gwt-servlet.jar:]
       at org.ovirt.engine.ui.webadmin.widget.tree.SystemTree.$expandTree(SystemTree.java:229)
       at org.ovirt.engine.ui.webadmin.widget.tree.SystemTree$3.eventRaised(SystemTree.java:110)
       at org.ovirt.engine.ui.uicompat.Event.$raise(Event.java:114)
       at org.ovirt.engine.ui.uicommonweb.models.SearchableListModel.$setItems(SearchableListModel.java:802)
       at org.ovirt.engine.ui.uicommonweb.models.SystemTreeModel.$executed(SystemTreeModel.java:438)
       at org.ovirt.engine.ui.uicommonweb.models.SystemTreeModel.executed(SystemTreeModel.java:438)
       at org.ovirt.engine.ui.frontend.Frontend$3.$onSuccess(Frontend.java:344) [frontend.jar:]
       at org.ovirt.engine.ui.frontend.Frontend$3.onSuccess(Frontend.java:344) [frontend.jar:]
       at org.ovirt.engine.ui.frontend.communication.OperationProcessor$3.$onSuccess(OperationProcessor.java:178) [frontend.jar:]
       at org.ovirt.engine.ui.frontend.communication.OperationProcessor$3.onSuccess(OperationProcessor.java:178) [frontend.jar:]
       at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.$onSuccess(GWTRPCCommunicationProvider.java:271) [frontend.jar:]
       at org.ovirt.engine.ui.frontend.communication.GWTRPCCommunicationProvider$5$1.onSuccess(GWTRPCCommunicationProvider.java:271) [frontend.jar:]
       at com.google.gwt.rpc.client.impl.RpcCallbackAdapter.onResponseReceived(RpcCallbackAdapter.java:72) [gwt-servlet.jar:]
       at org.ovirt.engine.ui.common.gin.BaseSystemModule$1$1.onResponseReceived(BaseSystemModule.java:140)
       at com.google.gwt.http.client.Request.$fireOnResponseReceived(Request.java:237) [gwt-servlet.jar:]
       at com.google.gwt.http.client.RequestBuilder$1.onReadyStateChange(RequestBuilder.java:409) [gwt-servlet.jar:]
       at Unknown.<anonymous>(https://fa41.prod.exalead.com/ovirt-engine/webadmin/A074B6CAB9A1E250E7C1B447E6DD9594.cache.html@65)      at com.google.gwt.core.client.impl.Impl.apply(Impl.java:296) [gwt-servlet.jar:]
       at com.google.gwt.core.client.impl.Impl.entry0(Impl.java:335) [gwt-servlet.jar:]
       at Unknown.<anonymous>(https://fa41.prod.exalead.com/ovirt-engine/webadmin/A074B6CAB9A1E250E7C1B447E6DD9594.cache.html@54)Caused by: com.google.gwt.event.shared.UmbrellaException: Exception caught: (TypeError) 
__gwt$exception: <skipped>: Cannot read property 'f' of null
       at java.lang.Throwable.fillInStackTrace(Throwable.java:114) [rt.jar:1.7.0_99]
       at java.lang.RuntimeException.RuntimeException(RuntimeException.java:32) [rt.jar:1.7.0_99]
       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.EventBus.$castFireEvent(EventBus.java:65) [gwt-servlet.jar:]
       at org.ovirt.engine.ui.webadmin.uicommon.model.SystemTreeSelectionChangeEvent.fire(SystemTreeSelectionChangeEvent.java:21)
       at org.ovirt.engine.ui.webadmin.uicommon.model.SystemTreeModelProvider.$setSelectedItems(SystemTreeModelProvider.java:108)
       at org.ovirt.engine.ui.webadmin.uicommon.model.SystemTreeModelProvider$1.onSelectionChange(SystemTreeModelProvider.java:59)
       at com.google.gwt.view.client.SelectionChangeEvent.dispatch(SelectionChangeEvent.java:98) [gwt-servlet.jar:]
       at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:]
       at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:]
       ... 26 more
Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError) 
__gwt$exception: <skipped>: Cannot read property 'f' of null
       at org.ovirt.engine.ui.webadmin.plugin.entity.SystemTreeItemObject.from(SystemTreeItemObject.java:15)
       at org.ovirt.engine.ui.webadmin.uicommon.model.SystemTreeSelectionChangeEvent.$dispatch(SystemTreeSelectionChangeEvent.java:50)
       at org.ovirt.engine.ui.webadmin.uicommon.model.SystemTreeSelectionChangeEvent.dispatch(SystemTreeSelectionChangeEvent.java:50)
       at com.google.gwt.event.shared.GwtEvent.dispatch(GwtEvent.java:76) [gwt-servlet.jar:]
       at com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173) [gwt-servlet.jar:]
       ... 33 more

Comment 1 Sandro Bonazzola 2016-05-02 10:00:25 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Alexander Wels 2016-05-10 19:59:20 UTC
Fabrice,

I am taking a look at this. and I have some questions. Looking at the stack trace the problem appears to happen when we are trying to read some information from a UI plugin. Are you running oVirt with any UI plugins enabled? If so, which one?

You also said you couldn't reproduce but do you remember at all in general what you were doing when this happened?

Thanks,
Alexander

Comment 3 Fabrice Bacchella 2016-05-10 20:38:19 UTC
I didn't activate any plugin.

That was a few weeks ago, so no, I don't remember what I was doing, sorry.

Comment 4 Yaniv Lavi 2016-05-23 13:16:43 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 5 Yaniv Lavi 2016-05-23 13:20:33 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 6 Oved Ourfali 2016-05-25 13:48:16 UTC
Fabrice, please re-open if reproduces, and also attach all engine and UI logs.
Thanks!