Red Hat Bugzilla – Bug 1293574
[WebAdmin] - "Error message appears in the UI "Uncaught exception occurred." when pressing on a rhev-h server that have a new version available
Last modified: 2016-04-21 10:37:25 EDT
Created attachment 1108589 [details]
Description of problem:
[WebAdmin] - "Error message appears in the UI "Uncaught exception occurred." when pressing on a rhev-h server that have a new version available icon.
If i have a node(rhev-h) server with an upgrade icon next to him in the UI - 'Hosts' main tab and i'm pressing with the mouse cursor on the server, a "Uncaught exception occurred. Please try reloading the page. Details: Exception caught: (TypeError) __gwt$exception: <skipped>: Cannot read property 'cZ' of null"
From server.log -->
2015-12-22 09:10:36,084 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/ovirt-engine/webadmin]] (ajp-/127.0.0.1:8702-21) Exception while dispatching incoming RPC call: com.google.gwt.user.client.rpc.RpcTokenException: Invalid RPC token (Invalid XSRF token)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Have an available new version for your node(rhev-h) server(icon should appear in UI)
2. Press the server with the mouse cursor
"Uncaught exception occurred. Please try reloading the page. Details: Exception caught: (TypeError) __gwt$exception:
Not sure if it's part of the new UI feature, but this must be improved.
Created attachment 1108590 [details]
seems like an 'infra' issue, but assigning to Alexander for investigation.
Looking at the obfuscated stack trace and rpm version. The problem appears to happen in org.ovirt.engine.core.common.VdcActionUtils at line 340 which is 'canExecute'.
I see lots of stuff in there that could potentially be a null pointer exception.
Yes this is probably an infra bug.
verified on rhevm-126.96.36.199-0.1.el6.noarch with DisplayUncaughtUIExceptions=true
repeating scenarios form this bug are now not throwing UI exceptions