cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rafael Weingärtner <rafaelweingart...@gmail.com>
Subject Re: Bug in ViewResponseHelper.java of 4627fb2
Date Mon, 18 Dec 2017 23:47:37 GMT
What is the line in that class that may generate a NPE? 291?
Please do open a PR to propose a fix for this situation.

On Mon, Dec 18, 2017 at 6:38 PM, Tutkowski, Mike <Mike.Tutkowski@netapp.com>
wrote:

> Hi,
>
> I noticed an issue today with a fairly recent commit: 4627fb2.
>
> In ViewResponseHelper.java, a NullPointerException can be thrown when
> interacting with a data disk on VMware because the disk chain value in
> cloud.volumes can have a value of NULL.
>
> I can put in a check for NULL and avoid the NullPointerException, but
> perhaps someone knows the history of why this particular field is used in
> this case and can fill me in.
>
> Thanks!
> Mike
>



-- 
Rafael Weingärtner

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message