Created attachment 1121059 [details] Exception screenshot Description of problem: RHEVM UI raise exceptions when remove any items from long list (SDa/VMs/etc) See attached screenshot. ui.log raised exception 2016-02-02 17:56:16,335 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-13) [] Permutation name: 9427A308A8D941A090BA85F4C59BC529 2016-02-02 17:56:16,335 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-13) [] Uncaught exception: : com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: c is null at Unknown.ezq(Unknown Source) at Unknown.tPn(Unknown Source) at Unknown.wPn(Unknown Source) at Unknown.nTn(Unknown Source) at Unknown.qTn(Unknown Source) at Unknown.VRn(Unknown Source) at Unknown.YRn(Unknown Source) at Unknown.UIe(Unknown Source) at Unknown._xk(Unknown Source) at Unknown.v3(Unknown Source) at Unknown.O3(Unknown Source) at Unknown.Svf/c.onreadystatechange<(Unknown Source) at Unknown.Yt(Unknown Source) at Unknown.au(Unknown Source) at Unknown._t/<(Unknown Source) at Unknown.anonymous(Unknown Source) Version-Release number of selected component (if applicable): rhevm-setup-plugin-ovirt-engine-common-3.6.3-0.1.el6.noarch ovirt-engine-extension-aaa-jdbc-1.0.5-1.el6ev.noarch rhevm-setup-plugin-ovirt-engine-3.6.3-0.1.el6.noarch How reproducible: Steps to Reproduce: 1. Create many items such as VMs/SDs/or something else 2. Remove any single item 3. Actual results: UI freeze and raise red exceptions Expected results: Nothing Additional info:
Alexander, can you take a look?
The trace will be in UI.log
Do I need restart rhevm-engine?
Honestly I haven't checked if it is needed. Try it without restarting (look in the UI.log, and if you see the same stack trace, then restart). If the stack trace is different (You see readable class names) then you don't need to restart.
What is a long list? 100 items? 1000? 10,000? Does it happen every time? Is this a regression?
@Yuri, Were you able to get the debuginfo installed. I can confirm you DO need to restart the engine to make it work.
It happened 100% with 50 Storage Domains See below debug information from ui.log (after installing rhevm-webadmin-portal-debuginfo rhevm-userportal-debuginfo) 2016-02-11 13:36:13,700 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-8) [] Permutation name: 9427A308A8D941A090BA85F4C59BC529 2016-02-11 13:36:13,700 ERROR [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService] (ajp-/127.0.0.1:8702-8) [] Uncaught exception: : com.google.gwt.core.client.JavaScriptException: (TypeError) __gwt$exception: <skipped>: c is null at org.ovirt.engine.ui.uicommonweb.models.storage.StorageGeneralModel$1.onSuccess(StorageGeneralModel.java:160) at org.ovirt.engine.ui.frontend.Frontend$2.$onSuccess(Frontend.java:244) [frontend.jar:] at org.ovirt.engine.ui.frontend.Frontend$2.onSuccess(Frontend.java:244) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.$onSuccess(OperationProcessor.java:141) [frontend.jar:] at org.ovirt.engine.ui.frontend.communication.OperationProcessor$2.onSuccess(OperationProcessor.java:141) [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.Svf/c.onreadystatechange<(Unknown Source) 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._t/<(Unknown Source) at Unknown.anonymous(Unknown Source)
You mentioned it also happening with VMs and other things. It appears someone already fixed the NPE for the storage connections in master, I will ask them to backport it to 3.6 @Yuri, Can you also give me stack traces for the other locations that give you this exception (as they are probably different bugs)
Unfortunately, I don't have large environment to reproduce it again.
verified on top of 3.6.5.1 with 50 SD's verified as well by 500 hosts datacenter. no issues appears both firefox \ chrome