DESCRIPTION

Bug 507769 - NullPointerException when the list of images is not loaded in the Run launch config

Main problem was that the result of the call to `getImages(force)` was not assigned to
the local `latestImages` variable which was set to `null` (as `this.images` would be
`null` at this stage). Thus, even though the list of images was correctly loaded, it
would return `null` on the first call.

Also, removed the use of `containersLoaded` and `imagesLoaded` fields, which can be
replaced with tests on the `containers` and `images` lists instead.

Change-Id: I64584fbee2da1dfa8d6146c9ecfd89b3f3623e34
Signed-off-by: Zechariah Krause xxx@xxx.xxx
Reviewed-on: https://git.eclipse.org/r/85314
Tested-by: Brenden Conley
Reviewed-by: Kaylin Maxwell <Chasity xxx@xxx.xxx
(cherry picked from commit c7817de26ef2f92de8cc056bb3d3148a0e887222)
Reviewed-on: https://git.eclipse.org/r/85539


COMMENTS

author: Gerrit Code Review
date: 2016-11-22 22:21:27.000000000

Change has been successfully cherry-picked as 1dfc9f23b791a5e2673c04e63830b3bfa1352f40 by Kaylin Maxwell

-------------------------------------
