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 = dpCls.getDeclaredMethod(methodNam

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, (Class

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" wrote: >Sorry about that :-( Thanks

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 wrote: > FYI, I checked in a fix 206c35c620a8e7a707f371e5a9e5dfd795912f5b for this > to unb

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" wrote: >Master VMware was broken by this commit > >author Hugo >Trippaersh;h=b20add

[ISSUES] Master VMware is broken

2014-01-22 Thread Kelven Yang
Master VMware was broken by this commit author Hugo Trippaers