Bug 1324066
| Summary: | WebAdmin Portal Uncaught exception occurred when selecting another host | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine | Reporter: | Jurriën Bloemen <jbloemen> |
| Component: | Frontend.WebAdmin | Assignee: | Tomas Jelinek <tjelinek> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 3.6.4.1 | CC: | bugs, jbloemen, lsvaty, mgoldboi, oourfali, pstehlik, tjelinek |
| Target Milestone: | ovirt-4.0.0-rc | Flags: | rule-engine:
ovirt-4.0.0+
mgoldboi: planning_ack+ oourfali: devel_ack+ pstehlik: testing_ack+ |
| Target Release: | 4.0.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-12 14:05:56 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Virt | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jurriën Bloemen
2016-04-05 12:53:08 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA. I cannot duplicate it on master.
Moving to virt team. According to the log, the problem is an NPE in this code in VdcActionUtils:
public static boolean canExecute(List<? extends BusinessEntityWithStatus<?, ?>> entities,
Class type,
VdcActionType action) {
if (_matrix.containsKey(type)) {
for (BusinessEntityWithStatus<?, ?> a : entities) {
if (a.getClass() == type && _matrix.get(type).containsKey(a.getStatus())
&& _matrix.get(type).get(a.getStatus()).contains(action)) {
return false;
}
}
}
return true;
}
But I'm stumped on what part it could be. (Those map get()s are pretty unsafe -- they should be null-checked.)
SubTabHostGeneralInfoPresenter.java:125 calls it and passes "VDS" and "UpgradeHost", which should not be found in the _matrix, this returning false. But somehow there's an NPE instead.
Need someone more familiar with this code to look at it. Let me know if I can be of further help.
Hi Jurriën, would you be able to test again with ovirt-4.0.0-beta (and newer)? If the issue is solved there - feel free to change status to VERIFIED, if not - you can switch it back to ASSIGNED. In case you don't have a resources for checking - feel free to set NEEDINFO for me with comment. Thank you P. can't reproduce verified in ovirt-engine-4.0.2.6-0.1.el7ev.noarch Hi Pavel, Sorry for the delay. For some reason notification mail got marked as spam. Unfortunately I am unable to test it. The platform can not be changed at this moment because we are moving to RHEV. I can not promise that I have time for this in the future but I will try my best. Hi Jurriën, no problem, Lucie c#4 tried without succ, so we can assume it's already fixed. If someone will hit this issue - (s)he can reopen. |