deserialize the response you get a
null element, so you should not check anything inside an instance.
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747392.html
Sent from the Camel - Users mailing list archive at Nabble.com.
.endChoice()
>
>
> I know this is not performant, but It's a solution
>
>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747196.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
but It's a solution
--
View this message in context:
http://camel.465427.n5.nabble.com/How-to-return-null-element-with-Camel-CXF-tp5747194p5747196.html
Sent from the Camel - Users mailing list archive at Nabble.com.
(fields[x] != null) {
fields[x].set(wrapperObject, lst.get(x));
}
}
The line remarked is what get the NPE. So in debugging I initialized a List
and put a null element to the list. And with this I had a null valid
response!
So, Does I always hav