On Thu, Aug 4, 2016 at 4:40 PM, Sandro Bonazzola <sbonazzo@redhat.com> wrote:


On Thu, Aug 4, 2016 at 4:08 PM, Vojtech Szocs <vszocs@redhat.com> wrote:
Hi,

Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
 __gwt$exception: <skipped>: Cannot read property 'k' of null
        at org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImageLineModel.$attachDisk(InstanceImageLineModel.java:169)

looks like NPE in InstanceImageLineModel#attachDisk method, the '$' in '$attachDisk'
might indicate that NPE occurs within `new InstanceImagesAttachDiskModel() { .. }`
declaration.

Can you please open BZ with steps on how to reproduce?

I can open the BZ but I don't have exact steps to reproduce. I just installed the engine from master, logged in and randomly clicked on stuff in the user portal just to check it was responding.

https://bugzilla.redhat.com/show_bug.cgi?id=1364152
 

 

Vojtech


----- Original Message -----
> From: "Sandro Bonazzola" <sbonazzo@redhat.com>
> To: "devel" <devel@ovirt.org>, "Vojtech Szocs" <vszocs@redhat.com>, "Alexander Wels" <awels@redhat.com>
> Sent: Thursday, August 4, 2016 1:22:33 PM
> Subject: 4.1.0-0.0.master.20160802181918.gitd8decfe Uncaught exception occurred
>
> # rpm -qa |grep userportal
> ovirt-engine-userportal-debuginfo-4.1.0-0.0.master.20160802181918.gitd8decfe.fc24.noarch
> ovirt-engine-userportal-4.1.0-0.0.master.20160802181918.gitd8decfe.fc24.noarch
>
> client side:
>
> Thu Aug 04 13:18:47 GMT+200 2016 org.ovirt.engine.ui.frontend.Frontend
> WARNING: Failure while invoking runQuery [Query execution failed due to
> insufficient permissions., Query execution failed due to insufficient
> permissions_]
> userportal-0.js:5832 Thu Aug 04 13:18:52 GMT+200 2016
> SEVERE: Uncaught exceptioncom.google.gwt.event.shared.UmbrellaException:
> Exception caught: (TypeError)
>  __gwt$exception: <skipped>: Cannot read property 'k' of null
> at Unknown.Ur(userportal-0.js@17729)
> at Unknown.as(userportal-0.js@41)
> at Unknown.wX(userportal-0.js@19)
> at Unknown.zX(userportal-0.js@19)
> at Unknown.KW(userportal-0.js@116)
> at Unknown.Q$c(userportal-0.js@27)
> at Unknown.$$c(userportal-0.js@13141)
> at Unknown._S(userportal-0.js@147)
> at Unknown.S$c(userportal-0.js@113)
> at Unknown.Yhd(userportal-0.js@21707)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.D8c(userportal-0.js@46)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> at Unknown.Sy(userportal-0.js@20)
> at Unknown.Chd(userportal-0.js@98)
> at Unknown.dMi(userportal-28.js@147517)
> at Unknown.Yhd(userportal-0.js@21325)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.F6c(userportal-0.js@60)
> at Unknown.B8c(userportal-0.js@52)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
>  __gwt$exception: <skipped>: Cannot read property 'k' of null
> at Unknown.BSm(userportal-28.js@58)
> at Unknown.PSm(userportal-28.js@506365)
> at Unknown.GLi(userportal-0.js@101)
> at Unknown.Cyj(userportal-28.js@218011)
> at Unknown.uT(userportal-0.js@27451)
> at Unknown.UW(userportal-0.js@209)
> at Unknown.KW(userportal-0.js@59)
> at Unknown.Q$c(userportal-0.js@27)
> at Unknown.$$c(userportal-0.js@13141)
> at Unknown._S(userportal-0.js@147)
> at Unknown.S$c(userportal-0.js@113)
> at Unknown.Yhd(userportal-0.js@21707)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.D8c(userportal-0.js@46)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> at Unknown.Sy(userportal-0.js@20)
> at Unknown.Chd(userportal-0.js@98)
> at Unknown.dMi(userportal-28.js@147517)
> at Unknown.Yhd(userportal-0.js@21325)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.F6c(userportal-0.js@60)
> at Unknown.B8c(userportal-0.js@52)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> dRc @ userportal-0.js:5832
> userportal-0.js:5832 Thu Aug 04 13:18:52 GMT+200 2016 remote
> SEVERE: Uncaught exceptioncom.google.gwt.event.shared.UmbrellaException:
> Exception caught: (TypeError)
>  __gwt$exception: <skipped>: Cannot read property 'k' of null
> at Unknown.Ur(userportal-0.js@17729)
> at Unknown.as(userportal-0.js@41)
> at Unknown.wX(userportal-0.js@19)
> at Unknown.zX(userportal-0.js@19)
> at Unknown.KW(userportal-0.js@116)
> at Unknown.Q$c(userportal-0.js@27)
> at Unknown.$$c(userportal-0.js@13141)
> at Unknown._S(userportal-0.js@147)
> at Unknown.S$c(userportal-0.js@113)
> at Unknown.Yhd(userportal-0.js@21707)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.D8c(userportal-0.js@46)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> at Unknown.Sy(userportal-0.js@20)
> at Unknown.Chd(userportal-0.js@98)
> at Unknown.dMi(userportal-28.js@147517)
> at Unknown.Yhd(userportal-0.js@21325)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.F6c(userportal-0.js@60)
> at Unknown.B8c(userportal-0.js@52)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
>  __gwt$exception: <skipped>: Cannot read property 'k' of null
> at Unknown.BSm(userportal-28.js@58)
> at Unknown.PSm(userportal-28.js@506365)
> at Unknown.GLi(userportal-0.js@101)
> at Unknown.Cyj(userportal-28.js@218011)
> at Unknown.uT(userportal-0.js@27451)
> at Unknown.UW(userportal-0.js@209)
> at Unknown.KW(userportal-0.js@59)
> at Unknown.Q$c(userportal-0.js@27)
> at Unknown.$$c(userportal-0.js@13141)
> at Unknown._S(userportal-0.js@147)
> at Unknown.S$c(userportal-0.js@113)
> at Unknown.Yhd(userportal-0.js@21707)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.D8c(userportal-0.js@46)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
> at Unknown.Sy(userportal-0.js@20)
> at Unknown.Chd(userportal-0.js@98)
> at Unknown.dMi(userportal-28.js@147517)
> at Unknown.Yhd(userportal-0.js@21325)
> at Unknown.G6c(userportal-0.js@85)
> at Unknown.F6c(userportal-0.js@60)
> at Unknown.B8c(userportal-0.js@52)
> at Unknown._t(userportal-0.js@29)
> at Unknown.du(userportal-0.js@57)
> at Unknown.eval(userportal-0.js@54)
>
> Server side:
> 2016-08-04 13:18:52,548 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-1) [] Permutation name: 75D1AC128862E90B608B8BD81303B1CE
> 2016-08-04 13:18:52,548 ERROR
> [org.ovirt.engine.ui.frontend.server.gwt.OvirtRemoteLoggingService]
> (default task-1) [] Uncaught exception:
> com.google.gwt.event.shared.UmbrellaException: Exception caught:
> (TypeError)
>  __gwt$exception: <skipped>: Cannot read property 'k' of null
>         at java.lang.Throwable.fillInStackTrace(Throwable.java:114)
> [rt.jar:1.8.0_101]
>         at
> java.lang.RuntimeException.RuntimeException(RuntimeException.java:32)
> [rt.jar:1.8.0_101]
>         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.user.client.ui.Widget.$fireEvent(Widget.java:127)
> [gwt-servlet.jar:]
>         at com.google.gwt.user.client.ui.Widget.fireEvent(Widget.java:127)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.event.dom.client.DomEvent.fireNativeEvent(DomEvent.java:110)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.user.client.ui.Widget.$onBrowserEvent(Widget.java:163)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.user.client.ui.CustomButton.onBrowserEvent(CustomButton.java:631)
> [gwt-servlet.jar:]
>         at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1648)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.user.client.impl.DOMImplStandard.dispatchEvent(DOMImplStandard.java:320)
> [gwt-servlet.jar:]
>         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.eval(userportal-0.js@54)
>         at
> com.google.gwt.dom.client.DOMImplStandard.$dispatchEvent(DOMImplStandard.java:68)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.user.client.ui.CustomButton.$onClick(CustomButton.java:822)
> [gwt-servlet.jar:]
>         at
> org.ovirt.engine.ui.common.widget.dialog.AbstractDialogButton.onClick(AbstractDialogButton.java:45)
>         at
> com.google.gwt.user.client.ui.CustomButton.onBrowserEvent(CustomButton.java:631)
> [gwt-servlet.jar:]
>         at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1648)
> [gwt-servlet.jar:]
>         at com.google.gwt.user.client.DOM.dispatchEvent(DOM.java:1666)
> [gwt-servlet.jar:]
>         at
> com.google.gwt.user.client.impl.DOMImplStandard.dispatchCapturedMouseEvent(DOMImplStandard.java:352)
> [gwt-servlet.jar:]
>         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.eval(userportal-0.js@54)
> Caused by: com.google.gwt.core.client.JavaScriptException: (TypeError)
>  __gwt$exception: <skipped>: Cannot read property 'k' of null
>         at
> org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImageLineModel.$attachDisk(InstanceImageLineModel.java:169)
>         at
> org.ovirt.engine.ui.uicommonweb.models.vms.InstanceImageLineModel.executeCommand(InstanceImageLineModel.java:359)
>         at
> org.ovirt.engine.ui.uicommonweb.UICommand.$execute(UICommand.java:163)
>         at
> org.ovirt.engine.ui.common.widget.uicommon.instanceimages.InstanceImageLineEditor$2.onClick(InstanceImageLineEditor.java:87)
>         at
> com.google.gwt.event.dom.client.ClickEvent.dispatch(ClickEvent.java:55)
> [gwt-servlet.jar:]
>         at
> com.google.web.bindery.event.shared.SimpleEventBus.$doFire(SimpleEventBus.java:173)
> [gwt-servlet.jar:]
>         ... 21 more
>
>
>
>
> --
> Sandro Bonazzola
> Better technology. Faster innovation. Powered by community collaboration.
> See how it works at redhat.com
>



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com



--
Sandro Bonazzola
Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com