Bug 1485951 - NullPointerException when viewing the images in ovirt-image-repository storage domain
Summary: NullPointerException when viewing the images in ovirt-image-repository storag...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: shani
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-28 14:29 UTC by shani
Modified: 2017-12-20 11:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:09:53 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
NullPointerException (238.10 KB, image/png)
2017-08-28 14:29 UTC, shani
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 81151 0 master MERGED core: Change Optional.of() to Optional.ofNullable() 2020-12-04 08:10:07 UTC

Description shani 2017-08-28 14:29:52 UTC
Created attachment 1319088 [details]
NullPointerException

Description of problem:
When viewing the images stored in ovirt-image-repository storage domain, after viewing the images stored in an empty openstack storage domain, a NullPointerException has been received on ovirt-engine's log. 

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

How reproducible:
100%

Steps to Reproduce:
1. Go to the images list on an empty openstack storage domain.
2. Go to the images list on ovirt-image-repository storage domain.
3. Watch the engine's log.

Actual results:
Exception: java.lang.NullPointerException

Expected results:
log error message: "Failed to retrieve image list"

Additional info:
-

Comment 1 Raz Tamir 2017-09-04 15:09:41 UTC
Verified on ovirt-engine-4.2.0-0.0.master.20170903205106.gitb17261a.el7.centos

No Exceptions when selecting Glance storage

Comment 2 Sandro Bonazzola 2017-12-20 11:09:53 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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


Note You need to log in before you can comment on or make changes to this bug.