Re: Null Pointer listing public ips for a project

2017-04-13 Thread Will Stevens
og.log <== > > > > > 2017-04-13 18:16:30,340 INFO [a.c.c.a.ApiServer] > > > > > (catalina-exec-5:ctx-2b0966b8 ctx-2760e856) (logid:7439bdc4) > > (userId=2 > > > > > accountId=2 sessionId=6183303731812D5EC32B1B37445AEC60) > 192.168.1.58 > >

Re: Null Pointer listing public ips for a project

2017-04-13 Thread Wei ZHOU
60) 192.168.1.58 > > -- > > > > GET signatureversion=3=H6E-LUsWpVY6WT_mJzz7qjGAdxg& > > > > command=listPublicIpAddresses=-1=2017-04- > > > > 13T16%3A26%3A30%2B=json=true 200 {" > > > > listpublicipaddressesresponse":{}} > > > >

Re: Null Pointer listing public ips for a project

2017-04-13 Thread Will Stevens
> 13T16%3A26%3A30%2B=json=true 200 {" > > > listpublicipaddressesresponse":{}} > > > > > > I think proper way to fix this would be to check that project object is > > > not null before calling any methods on it. > > > > > > >

Re: Null Pointer listing public ips for a project

2017-04-13 Thread Wei ZHOU
GAdxg& > > command=listPublicIpAddresses=-1=2017-04- > > 13T16%3A26%3A30%2B=json=true 200 {" > > listpublicipaddressesresponse":{}} > > > > I think proper way to fix this would be to check that project object is > > not null before calling any methods

Re: Null Pointer listing public ips for a project

2017-04-13 Thread Will Stevens
> From: Will Stevens <sw...@apache.org> > Sent: 13 April 2017 21:38:34 > To: dev@cloudstack.apache.org > Subject: Null Pointer listing public ips for a project > > Hey All, > Looking for the best way to resolve this issue. > > My line numbers in the stack t

Re: Null Pointer listing public ips for a project

2017-04-13 Thread Rohit Yadav
not null before calling any methods on it. Regards. From: Will Stevens <sw...@apache.org> Sent: 13 April 2017 21:38:34 To: dev@cloudstack.apache.org Subject: Null Pointer listing public ips for a project Hey All, Looking for the best way to resolve this i

Null Pointer listing public ips for a project

2017-04-13 Thread Will Stevens
Hey All, Looking for the best way to resolve this issue. My line numbers in the stack trace will not match the line numbers I reference because I am running 4.7 and I am linking the master files. From what I can tell by reviewing the code, this has not been fixed in master. So here goes. When