Re: Aw: Re: Re: Re: Re: Re: Re: NPE with message body writer during load

2015-09-28 Thread Sergey Beryozkin
Hi Veit I knew your test would catch any typos :-) Seriously though, even though I did this embarrassing typo in a hurry, I'd not close CXF-6599 without getting a confirmation, either from yourself or otherwise from my own test, that the fix was sufficient Many Thanks Sergey On 28/09/15 09:5

Aw: Re: Re: Re: Re: Re: Re: NPE with message body writer during load

2015-09-28 Thread Veit Guna
Hi Sergey.   I've tested your fix. Sadly, it doesn't work, cause you have a typo in it :). In the second isPrimitive() check, you check the returnType again instead of p. Fixed it locally and then it seems to do the trick!   for (Class p : m.getParameterTypes()) { if (!returnType.isPrimitive())