Re: [ISSUES] Master VMware is broken

2014-01-23 Thread Min Chen
It failed in invoking addVmwareDC, where we will invoke vmware API to get CustomeField. Using java generics, class reflection failed in finding that declared method, thus throwing NoSuchMethodFound exception. Thanks -min On 1/22/14 10:52 PM, Hugo Trippaers h...@trippaers.nl wrote: Sorry about

Re: [ISSUES] Master VMware is broken

2014-01-23 Thread Kelven Yang
Hugo, The root cause of the problem comes from this line of change, it is very subtle, but it indeed causes the problem Method getMorMethod = dpCls.getDeclaredMethod(methodName, (Class?)null); There is a subtle difference between Method getMorMethod = dpCls.getDeclaredMethod(methodName,

Re: [ISSUES] Master VMware is broken

2014-01-23 Thread Kelven Yang
To be exact, line Method getMorMethod = dpCls.getDeclaredMethod(methodName, (Class?)null); will be translated by compiler as Method getMorMethod = dpCls.getDeclaredMethod(methodName, new Class[] { null } ); line Method getMorMethod =

[ISSUES] Master VMware is broken

2014-01-22 Thread Kelven Yang
Master VMware was broken by this commit author Hugo Trippaershttps://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=search;h=b20add810e5751f53946f695b6223a8016f104a5;s=Hugo+Trippaers;st=author

Re: [ISSUES] Master VMware is broken

2014-01-22 Thread Min Chen
FYI, I checked in a fix 206c35c620a8e7a707f371e5a9e5dfd795912f5b for this to unblock my testing. Thanks -min On 1/22/14 5:43 PM, Kelven Yang kelven.y...@citrix.com wrote: Master VMware was broken by this commit author Hugo

Re: [ISSUES] Master VMware is broken

2014-01-22 Thread Hugo Trippaers
Sorry about that :-( Thanks for finding and fixing it. Where did you encounter the error? I wonder why i didn’t catch it with my tests against vmware. Cheers, Hugo On 23 jan. 2014, at 03:01, Min Chen min.c...@citrix.com wrote: FYI, I checked in a fix