Bug 1350203

Summary: NullPointerException UI exception is thrown when importing an unregistered VM
Product: [oVirt] ovirt-engine Reporter: Tal Nisan <tnisan>
Component: Frontend.WebAdminAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Carlos Mestre González <cmestreg>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.0.0CC: acanan, amureini, bugs
Target Milestone: ovirt-4.0.1Flags: rule-engine: ovirt-4.0.z+
rule-engine: planning_ack+
tnisan: devel_ack+
acanan: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 06:26:43 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tal Nisan 2016-06-26 12:17:45 UTC
Description of problem:
When trying to import an unregistered VM from a storage domain a UI exception is thrown (NullPointerException)

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Create a VM with a disk on a specific storage domain
2. Move the domain containing the disk to maintenance and detach it 
3. Re-attach the domain and try to register the VM

Actual results:
A UI exception is thrown when the popup is opened

Expected results:
The popup should be opened without an exception

Additional info:

Comment 1 Carlos Mestre González 2016-07-11 09:43:46 UTC
rhevm-4.0.2-0.2.rc1.el7ev.noarch

Comment 2 Sandro Bonazzola 2016-07-19 06:26:43 UTC
Since the problem described in this bug report should be
resolved in oVirt 4.0.1 released on July 19th 2016, it has been closed with a
resolution of CURRENT RELEASE.

For information on the release, and how to update to this release, follow the link below.

If the solution does not work for you, open a new bug report.

http://www.ovirt.org/release/4.0.1/