In GXT 3.0, valueProvider, I have a null pointer exception issue. I have this code snippet,
@Path("xxx.yyy")
ValueProvider<User, String> zzz();
I use a ValueProvider like this, and in this situation, if xxx or yyy is null, I simply got null pointer exception. In my implementation, yyy or xxx could be null but, I want that, if it's null, simply just don't show it or show it empty.
I use this ValueProviders almost everywhere in my implementation, so I need to find a wise solution in order not to make my code sphagetti.
Thanks for any help.